♻️ 重构代码。 动态路由加载DB
This commit is contained in:
1 parent
e64d260712
commit
a226c8b936
15 files changed
+317
-128
No files matched your search
@@ -19,8 +19,8 @@ import java.time.LocalDateTime;
|
||||
* @date ${datetime}
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("${tableName}")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class ${className} extends Model<${className}> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+2
-4
@@ -18,16 +18,14 @@
|
||||
package com.pig4cloud.pigx.manager;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.client.SpringCloudApplication;
|
||||
|
||||
/**
|
||||
* @author LCN
|
||||
* @author lengleng
|
||||
* tx-manager ,进行了代码逻辑和代码规范重构
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableDiscoveryClient
|
||||
@SpringCloudApplication
|
||||
public class PigxTxManagerApplication {
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user