Browse Source

初审人员 和 自动下一状态

master
PoffyZhang 1 year ago
parent
commit
11cfeae366
1 changed files with 4 additions and 1 deletions
  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 View File

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


Loading…
Cancel
Save