Pārlūkot izejas kodu

初审人员 和 自动下一状态

master
PoffyZhang pirms 1 gada
vecāks
revīzija
11cfeae366
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProjectPreliminaryInspectionHandle.java

+ 4
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProjectPreliminaryInspectionHandle.java Parādīt failu

@@ -4,6 +4,7 @@ import static com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum.*;

import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;

import com.ningdatech.pmapi.common.constant.BizConst;
@@ -78,7 +79,9 @@ public class ProjectPreliminaryInspectionHandle extends AbstractProcessBusinessH
.in(ProjectStatusChange::getProjectId, allVersionProjectIds)
.eq(ProjectStatusChange::getEvent, ProjectStatusChangeEvent.PRELIMINARY_ACCEPTANCE_PUT_ON_RECORD.name())
.last(BizConst.LIMIT_1));
processDetailVO.setFinishTime(projectStatusChange.getCreateOn());
if(Objects.nonNull(projectStatusChange)){
processDetailVO.setFinishTime(projectStatusChange.getCreateOn());
}
}
processDetailVO.setProcessName(CommonConst.PROJECT_PRELIMINARY_INSPECTION);
processSchedule.add(processDetailVO);


Notiek ielāde…
Atcelt
Saglabāt