当前使用版本(必填,否则不予处理)
3.5.3
该问题是如何引起的?(确定最新版也有问题再提!!!)
不能生成自定义文件包名
重现步骤(如果有就写完整)
public static Consumer packageConfig(String parent, String moduleName, String fileName) {
return builder -> builder
// 父包名
.parent(parent)
// 父包模块名
.moduleName(moduleName)
// Entity 包名
.entity("entity")
// Service 包名
.service("service")
// Service Impl 包名
.serviceImpl("service.impl")
// Controller 包名
.controller("controller")
// Mapper 包名
.mapper("mapper")
// Mapper XML 包名
.xml("mapper.xml")
// 在 3.5.3 中已经不存在了,在以前版本没有看到该功能砍掉的公告啊
.other("")
// 路径配置信息
.pathInfo(Collections.singletonMap(OutputFile.xml, PATH + "output/" + fileName + "/src/main/resources/mapper"));
}
报错信息
无法使用