Преглед на файлове

工作台初验试运行阶段数量同步

tags/24080901
WendyYang преди 6 месеца
родител
ревизия
30a3404935
променени са 1 файла, в които са добавени 2 реда и са изтрити 5 реда
  1. +2
    -5
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 2
- 5
hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java Целия файл

@@ -221,7 +221,6 @@ public class WorkbenchManage {
List<Project> projects = new ArrayList<>();
Map<String, Long> purchaseEventMap = new HashMap<>();
ToLongFunction<AbstractStateChangeEvent> countPurchase = event -> purchaseEventMap.getOrDefault(event.name(), 0L);
long firstInspectedCount = 0;
for (ProcessNode node : ProcessNode.ALL) {
long count;
switch (node) {
@@ -281,11 +280,9 @@ public class WorkbenchManage {
count = countPurchase.applyAsLong(TestValidStateChangeEvent.TEST_VALID_INFO_PASSED);
break;
case FIRST_INSPECTED:
count = countPurchase.applyAsLong(TenderStateChangeEvent.SUBMIT_FIRST_INSPECTED_FILES);
firstInspectedCount = count;
break;
case PILOT_RUNNING:
count = firstInspectedCount;
// 初验试运行数量同步
count = countPurchase.applyAsLong(TenderStateChangeEvent.SUBMIT_FIRST_INSPECTED_FILES);
break;
case XCFHX_REVIEW:
count = countPurchase.applyAsLong(XcfhxStateChangeEvent.XCFHX_APPLY_PASSED);


Loading…
Отказ
Запис