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