|
@@ -94,7 +94,7 @@ public class MybatisGeneratorUtils {
|
|
|
@Override
|
|
|
public String outputFile(TableInfo tableInfo) {
|
|
|
// 自定义输出文件名 , 如果你 Entity 设置了前后缀、此处注意 xml 的名称会跟着发生变化!!
|
|
|
- return finalProjectPath + "/src/main/resources/mapper.fire" + "/"
|
|
|
+ return finalProjectPath + "/src/main/resources/mapper/fire" + "/"
|
|
|
+ tableInfo.getEntityName() + "Mapper" + StringPool.DOT_XML;
|
|
|
}
|
|
|
});
|