【update】注释修改

This commit is contained in:
mzc5649
2021-04-09 17:16:34 +08:00
parent 56ab4ea6b1
commit 53a0daef71
@@ -149,7 +149,7 @@ public class BaseCodeGenerate {
if (!this.isStartWithSpecialStr(file)) {
this.messageList.add("生成成功:" + outputFilepath);
}
// 是否以非法字符串开头
// 是否以指定字符串开头
if (this.isStartWithSpecialStr(file)) {
this.splitFileAndGenerate(file, "#segment#");
}
@@ -166,7 +166,7 @@ public class BaseCodeGenerate {
return FreemarkerHelper.getConfiguration(createFileConfig.listTemplateRootDirs(), characterSet, templateFilePath).getTemplate(templateFilePath);
}
/**
* 是否文件名以指定非法字符开头
* 是否文件名以指定一对多字符开头
* @date 2021/4/2 17:18
* @param file 文件
* @return boolean
@@ -175,7 +175,7 @@ public class BaseCodeGenerate {
return file.getName().startsWith("[1-n]");
}
/**
* 读取文件内容分割生成各个文件
* 读取一对多文件内容以指定字符串分割生成各个文件
* @date 2021/4/6 15:08
* @param file 文件
* @param str 开头字符串
@@ -330,7 +330,7 @@ public class BaseCodeGenerate {
}
/**
* 获取模板文件路径相对于模板根目录路径的路径
* 获取生成文件的项目路径
* @date 2021/4/2 16:28
* @param configMap 实体配置
* @param templateFilePath 模板文件路径