diff --git a/huzhou/src/main/java/com/easy/admin/modules/huzhou/service/impl/HuzhouPlaninfofileServiceImpl.java b/huzhou/src/main/java/com/easy/admin/modules/huzhou/service/impl/HuzhouPlaninfofileServiceImpl.java index 2143b33..f1a1de0 100644 --- a/huzhou/src/main/java/com/easy/admin/modules/huzhou/service/impl/HuzhouPlaninfofileServiceImpl.java +++ b/huzhou/src/main/java/com/easy/admin/modules/huzhou/service/impl/HuzhouPlaninfofileServiceImpl.java @@ -801,11 +801,22 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl planInfoList = planinfoService.getListByProjectId(projectId); + List filteredPlanInfoList = planInfoList.stream() + .filter(item -> "0".equals(item.getIsfinish())) + .collect(Collectors.toList()); + for (HuzhouPlaninfo planInfo : filteredPlanInfoList) { + String taskFile = planInfo.getTaskFile(); + // 当且节点未上传的文件数量 + unFinishFileCount += countFiles(taskFile); + } + + if (CollectionUtil.isNotEmpty(planInfoList)) { for (HuzhouPlaninfo planInfo : planInfoList) { String taskFile = planInfo.getTaskFile(); @@ -822,7 +833,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl currentPlanInfo = planInfoList.stream()