顺序
This commit is contained in:
@ -224,6 +224,7 @@ public class HseSafetyInspectionServiceImpl extends ServiceImpl<HseSafetyInspect
|
|||||||
.eq(HseSafetyInspection::getProjectId, projectId)
|
.eq(HseSafetyInspection::getProjectId, projectId)
|
||||||
.list();
|
.list();
|
||||||
List<HseSafetyInspection> passList = safetyInspectionList.stream()
|
List<HseSafetyInspection> passList = safetyInspectionList.stream()
|
||||||
|
.sorted(Comparator.comparing(HseSafetyInspection::getCreateTime).reversed())
|
||||||
.filter(q -> "1".equals(q.getIsReply()))
|
.filter(q -> "1".equals(q.getIsReply()))
|
||||||
.filter(q -> !q.getStatus().equals(HseSafetyInspectionStatusEnum.INFORM.getValue()))
|
.filter(q -> !q.getStatus().equals(HseSafetyInspectionStatusEnum.INFORM.getValue()))
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
Reference in New Issue
Block a user