mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-04-15 06:53:15 +08:00
fix 修复 代码生成模板小问题
This commit is contained in:
@@ -75,7 +75,14 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service {
|
||||
}
|
||||
|
||||
private LambdaQueryWrapper<${ClassName}> buildQueryWrapper(${ClassName}Bo bo) {
|
||||
#foreach ($column in $columns)
|
||||
#if($column.query && $column.queryType == 'BETWEEN')
|
||||
#set($hasBetween = true)
|
||||
#end
|
||||
#end
|
||||
#if($hasBetween)
|
||||
Map<String, Object> params = bo.getParams();
|
||||
#end
|
||||
LambdaQueryWrapper<${ClassName}> lqw = Wrappers.lambdaQuery();
|
||||
#foreach($column in $columns)
|
||||
#if($column.query)
|
||||
|
||||
Reference in New Issue
Block a user