|
@@ -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;
|
|
|
}
|
|
|
|
|
|
// 实体类文件输出
|