This commit is contained in:
zt
2025-12-03 20:09:19 +08:00
parent 9c7f9ad980
commit 35d2a10c0e

View File

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