Browse Source

modify:

1. 增加已完成采购的服务类项目数量;
tags/24093001
WendyYang 3 months ago
parent
commit
2bbd4fb01f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 2
- 1
hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java View File

@@ -415,7 +415,8 @@ public class WorkbenchManage {
break;
case PROJECT_PURCHASE: {
Wrapper<Purchase> purchaseQuery = Wrappers.lambdaQuery(Purchase.class)
.select(Purchase::getId, Purchase::getProjectId, Purchase::getBidType, Purchase::getSupplier)
.select(Purchase::getId, Purchase::getProjectId, Purchase::getBidType,
Purchase::getStatus, Purchase::getSupplier)
.in(Purchase::getProjectId, allProjectIds);
List<Purchase> purchases = purchaseService.list(purchaseQuery);
projectPurchaseCountMap.putAll(CollUtils.group(purchases, Purchase::getProjectId));


Loading…
Cancel
Save