|
|
@@ -152,7 +152,7 @@ public class PurchaseManage { |
|
|
|
w -> CollUtil.anyMatch(w, x -> TenderMainStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.eq(x.getStatus())))); |
|
|
|
stat.setToBePurchaseCount(CollUtil.count(projectPurchaseMap.values(), Collection::isEmpty)); |
|
|
|
stat.setPurchaseFinishedCount(CollUtil.count(projectPurchaseMap.values(), |
|
|
|
w -> CollUtil.allMatch(w, x -> !TenderMainStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.eq(x.getStatus())))); |
|
|
|
w -> !w.isEmpty() && CollUtil.allMatch(w, x -> !TenderMainStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.eq(x.getStatus())))); |
|
|
|
stat.setTotalCount(projects.size()); |
|
|
|
return stat; |
|
|
|
} |
|
|
|