update 优化 代码生成 增加buildQueryWrapper默认排序规则
This commit is contained in:
parent
ed6f8262c6
commit
2bb787886d
@ -95,6 +95,9 @@ 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
|
||||||
|
#if($column.isPk==1)
|
||||||
|
lqw.orderByAsc(${ClassName}::get$AttrName);
|
||||||
|
#end
|
||||||
#end
|
#end
|
||||||
return lqw;
|
return lqw;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user