Parcourir la source

modify:

1. 修复招标采购统计查询;
tags/24083001
WendyYang il y a 2 mois
Parent
révision
3a3327bed7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java Voir le fichier

@@ -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.anyMatch(w, x -> !TenderMainStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.eq(x.getStatus()))));
w -> CollUtil.allMatch(w, x -> !TenderMainStatus.TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO.eq(x.getStatus()))));
stat.setTotalCount(projects.size());
return stat;
}


Chargement…
Annuler
Enregistrer