处理部门排序问题
This commit is contained in:
parent
a26cb456f2
commit
e412999ac2
|
|
@ -87,9 +87,9 @@ public class SystemAuthPostServiceImpl implements ISystemAuthPostService {
|
||||||
"=:isStop@is_stop:int"
|
"=:isStop@is_stop:int"
|
||||||
});
|
});
|
||||||
|
|
||||||
Page<SystemAuthPost> objectPage = new Page<>(page, limit);
|
// Page<SystemAuthPost> objectPage = new Page<>(page, limit);
|
||||||
objectPage.addOrder(OrderItem.asc("sort"));
|
// objectPage.addOrder(OrderItem.asc("sort"));
|
||||||
IPage<SystemAuthPost> iPage = systemAuthPostMapper.selectPage(objectPage, queryWrapper);
|
IPage<SystemAuthPost> iPage = systemAuthPostMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
List<SystemAuthPostVo> list = new ArrayList<>();
|
List<SystemAuthPostVo> list = new ArrayList<>();
|
||||||
for (SystemAuthPost systemAuthPost : iPage.getRecords()) {
|
for (SystemAuthPost systemAuthPost : iPage.getRecords()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue