Browse Source

modify:

1. 首页统计修改;
tags/24082201
WendyYang 2 months ago
parent
commit
56850a4828
2 changed files with 3 additions and 2 deletions
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/AbstractProcessHandle.java
  2. +1
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/AbstractProcessHandle.java View File

@@ -41,9 +41,9 @@ public abstract class AbstractProcessHandle implements Ordered, ProcessHandle {
APPROVAL_AMOUNT("资金下达", 3),
PROJECT_APPROVAL("项目立项", 4),
PROJECT_PURCHASE("招标采购", 5),
PROJECT_ADAPTION("适配改造", 6),
PROJECT_ADAPTION("上传开工文件", 6),
SYSTEM_SELF_TEST("系统自测", 7),
SYSTEM_TEST_VALID("测试验证", 8),
SYSTEM_TEST_VALID("监理核实验证", 8),
FIRST_INSPECTED("项目初验", 9),
PILOT_RUNNING("上线试运行", 10),
XCFHX_REVIEW("信创测评", 11),


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

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


Loading…
Cancel
Save