|
@@ -76,7 +76,7 @@ public class CodeAutoGenerator {
|
|
|
//mapper.xml (实体类bean与数据库表字段映射)生成开关
|
|
|
private static boolean mapperXFlag = true;
|
|
|
//mapperExt.xml(数据库CRUD sql)生成开关
|
|
|
- private static boolean baseMapperXFlag = true;
|
|
|
+ private static boolean mapperExtXFlag = true;
|
|
|
//entity(表实体类)生成开关
|
|
|
private static boolean entityFlag = true;
|
|
|
|
|
@@ -366,7 +366,7 @@ public class CodeAutoGenerator {
|
|
|
}
|
|
|
|
|
|
//mapperExt xml文件输出
|
|
|
- if (baseMapperXFlag) {
|
|
|
+ if (mapperExtXFlag) {
|
|
|
list.add(new FileOutConfig(XMLEXT_TEMPLATE) {
|
|
|
@Override
|
|
|
public String outputFile(TableInfo tableInfo) {
|