排序调整
This commit is contained in:
parent
ee6b03c850
commit
660dee541b
@ -33,7 +33,7 @@ public class AlertRecordRepository extends ServiceImpl<AlertRecordMapper, AlertR
|
||||
if (queryDTO.getLineId() != null) {
|
||||
queryWrapper.eq(AlertRecord::getLineId, queryDTO.getLineId());
|
||||
}
|
||||
queryWrapper.orderByDesc(AlertRecord::getAlertTime);
|
||||
queryWrapper.orderByDesc(AlertRecord::getId);
|
||||
return page(queryDTO, queryWrapper);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user