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