排序调整

This commit is contained in:
tiger_zhou 2023-09-21 16:37:20 +08:00
parent ee6b03c850
commit 660dee541b

View File

@ -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);
}