update 优化 代码生成 增加buildQueryWrapper默认排序规则
This commit is contained in:
parent
2bb787886d
commit
5e6cb0dd3c
@ -95,6 +95,7 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service {
|
|||||||
${ClassName}::get$AttrName ,params.get("begin$AttrName"), params.get("end$AttrName"));
|
${ClassName}::get$AttrName ,params.get("begin$AttrName"), params.get("end$AttrName"));
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
|
#set($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
|
||||||
#if($column.isPk==1)
|
#if($column.isPk==1)
|
||||||
lqw.orderByAsc(${ClassName}::get$AttrName);
|
lqw.orderByAsc(${ClassName}::get$AttrName);
|
||||||
#end
|
#end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user