Sfoglia il codice sorgente

modify:

1. 项目进度处理;
tags/24091301
WendyYang 1 mese fa
parent
commit
a470727e25
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/stage/FinalInspectionHandle.java

+ 4
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/handle/stage/FinalInspectionHandle.java Vedi File

@@ -1,7 +1,9 @@
package com.hz.pm.api.projectlib.handle.stage;

import cn.hutool.core.collection.CollUtil;
import com.hz.pm.api.projectdeclared.model.entity.Purchase;
import com.hz.pm.api.projectdeclared.model.entity.PurchaseInst;
import com.hz.pm.api.projectdeclared.model.enumerization.BidTypeEnum;
import com.hz.pm.api.projectlib.handle.AbstractProcessHandle;
import com.hz.pm.api.projectlib.handle.HandleParamContext;
import com.hz.pm.api.projectlib.model.enumeration.InstTypeEnum;
@@ -64,7 +66,8 @@ public class FinalInspectionHandle extends AbstractProcessHandle {
tenderProgress.setProcessProgressVo(instDetail);
processes.add(tenderProgress);
});
if (instMap.size() != purchases.size()) {
int count = CollUtil.count(purchases, w -> BidTypeEnum.BUILD_APP.eq(w.getBidType()));
if (instMap.size() != count) {
stepStatus = StepStatusEnum.NOT_START;
} else {
stepStatus = getPurchaseStatus(processes);


Loading…
Annulla
Salva