fix: gen代码生成
This commit is contained in:
@@ -54,7 +54,7 @@ public class GenPlusUtils {
|
||||
builder.parent("org.wfc") // 设置父包名
|
||||
.moduleName(MODULE_NAME) // 设置父包模块名
|
||||
.entity("domain")
|
||||
.pathInfo(Collections.singletonMap(OutputFile.xml, OUTPUT_PATH)) // 设置mapperXml生成路径
|
||||
.pathInfo(Collections.singletonMap(OutputFile.xml, OUTPUT_PATH_XML)) // 设置mapperXml生成路径
|
||||
)
|
||||
.strategyConfig(builder ->
|
||||
builder.addInclude(TABLE_NAME) // 设置需要生成的表名
|
||||
|
||||
@@ -2,6 +2,7 @@ package ${package.ServiceImpl};
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import ${package.Entity}.${entity};
|
||||
import ${package.Mapper}.${table.mapperName};
|
||||
import ${package.Service}.${table.serviceName};
|
||||
|
||||
Reference in New Issue
Block a user