1. 优化分配菜单的逻辑,使用批量插入

2. 修复 CodegenEngine 生成代码时,Mapper.XML 地址不对
This commit is contained in:
YunaiV
2022-04-01 22:40:19 +08:00
parent e3ddb29c18
commit 1bb204adb5
9 changed files with 71 additions and 29 deletions

View File

@ -217,7 +217,7 @@ public class CodegenEngine {
private static String mapperXmlFilePath() {
return "yudao-module-${table.moduleName}/" + // 顶级模块
"yudao-module-${table.moduleName}-impl/" + // 子模块
"src/resources/mapper/${table.businessName}/${table.className}Mapper.xml";
"src/main/java/resources/mapper/${table.businessName}/${table.className}Mapper.xml";
}
private static String vueTemplatePath(String path) {