ソースを参照

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

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);


読み込み中…
キャンセル
保存