!114 1. 优化分配菜单的逻辑,使用批量插入 2. 修复 CodegenEngine 生成代码时,Mapper.XML 地址不对

Merge pull request !114 from 芋道源码/feature/1.6.2
This commit is contained in:
芋道源码
2022-04-01 14:43:57 +00:00
committed by Gitee
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) {