更改排序
This commit is contained in:
parent
6b40e0b530
commit
01a7131f9f
@ -56,7 +56,7 @@ public class ShiftResultServiceImpl extends ServiceImpl<ShiftResultMapper, Shift
|
|||||||
}
|
}
|
||||||
|
|
||||||
wrapper.eq(ShiftResultEntity::getDeleteMark,"0");
|
wrapper.eq(ShiftResultEntity::getDeleteMark,"0");
|
||||||
wrapper.orderByDesc(ShiftResultEntity::getCreatorTime);
|
wrapper.orderByAsc(ShiftResultEntity::getBgnDtime);
|
||||||
if ("0".equals(shiftResultPagination.getDataType())) {
|
if ("0".equals(shiftResultPagination.getDataType())) {
|
||||||
Page<ShiftResultEntity> page = new Page<>(shiftResultPagination.getCurrentPage(), shiftResultPagination.getPageSize());
|
Page<ShiftResultEntity> page = new Page<>(shiftResultPagination.getCurrentPage(), shiftResultPagination.getPageSize());
|
||||||
IPage<ShiftResultEntity> userIPage = this.page(page, wrapper);
|
IPage<ShiftResultEntity> userIPage = this.page(page, wrapper);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user