Sfoglia il codice sorgente

modify:

1. 修复招标采购统计查询;
tags/24083001
WendyYang 2 mesi fa
parent
commit
3a3327bed7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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;
}


Loading…
Annulla
Salva