refactor: 代码生成器模板

V0.5.x
jay 2023-06-25 21:57:52 +08:00
parent 5051ac78a8
commit 7d59858c53
1 changed files with 2 additions and 2 deletions

View File

@ -63,10 +63,10 @@ public class ${ClassName}DataImpl implements I${ClassName}Data, IJPACommData<${C
#else
#set($condition='bo.get'+$AttrName+'() != null')
#end
builder.and($condition, ()=>tb${ClassName}.${columnName}.eq(bo.get${AttrName}()));
builder.and($condition, ()=>tb${ClassName}.${javaField}.eq(bo.get${AttrName}()));
#else
builder.and(params.get("begin$AttrName") != null && params.get("end$AttrName") != null,
()=>tb${ClassName}.${columnName}.bettwen(params.get("begin$AttrName"), params.get("end$AttrName")));
()=>tb${ClassName}.${javaField}.bettwen(params.get("begin$AttrName"), params.get("end$AttrName")));
#end
#end
#end