Explorar o código

mybatis自动生成工具调整

songxinlu %!s(int64=4) %!d(string=hai) anos
pai
achega
2165c09eda

+ 2 - 2
security-center/src/test/java/com/diagbot/CodeAutoGenerator.java

@@ -181,7 +181,7 @@ public class CodeAutoGenerator {
     private static GlobalConfig globalConfig() {
         return new GlobalConfig()
                 // 打开文件
-                //                .setOpen(true)
+                .setOpen(false)
                 //                .setOutputDir("D://code")
                 // 文件覆盖
                 .setFileOverride(true)
@@ -327,7 +327,7 @@ public class CodeAutoGenerator {
         List<FileOutConfig> list = new ArrayList<>();
         // 当前项目路径
         if (updatePath) {
-            projectPath = System.getProperty("user.dir")+"\\"+moduleName;
+            projectPath = System.getProperty("user.dir") + "\\" + moduleName;
         }
 
         // 实体类文件输出