调度记录修改排序

master
wany 2024-11-15 11:09:09 +08:00
parent 8dc2d59fce
commit 3161b83a8a
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class DispatchRecordService extends ServiceImpl<DispatchRecordMapper, Dis
if(page.getDateTimeSo() != null && page.getDateTimeSo().getEnd() != null){ if(page.getDateTimeSo() != null && page.getDateTimeSo().getEnd() != null){
wrapper.lt(DispatchRecord::getStartTime,page.getDateTimeSo().getEnd()); wrapper.lt(DispatchRecord::getStartTime,page.getDateTimeSo().getEnd());
} }
wrapper.orderByDesc(DispatchRecord::getCreateTime); wrapper.orderByDesc(DispatchRecord::getStartTime);
return wrapper; return wrapper;
} }