|
|
@@ -56,8 +56,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle { |
|
|
|
processDetailVO.setStepStatus(StepStatusEnum.ON_GOING); |
|
|
|
ProjectStatusChange startChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) |
|
|
|
.in(ProjectStatusChange::getProjectId, allVersionProjectId) |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.PENDING_PREQUALIFICATION.getDesc()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS)); |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.PENDING_PREQUALIFICATION.getCode()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode())); |
|
|
|
if(Objects.nonNull(startChange)){ |
|
|
|
processDetailVO.setFinishTime(startChange.getCreateOn()); |
|
|
|
} |
|
|
@@ -65,8 +65,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle { |
|
|
|
processDetailVO.setStepStatus(StepStatusEnum.COMPLETED); |
|
|
|
ProjectStatusChange passChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) |
|
|
|
.in(ProjectStatusChange::getProjectId, allVersionProjectId) |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getDesc()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS)); |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS.getCode())); |
|
|
|
if(Objects.nonNull(passChange)){ |
|
|
|
processDetailVO.setFinishTime(passChange.getCreateOn()); |
|
|
|
} |
|
|
@@ -74,8 +74,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle { |
|
|
|
processDetailVO.setStepStatus(StepStatusEnum.REJECTED); |
|
|
|
ProjectStatusChange rejectChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) |
|
|
|
.in(ProjectStatusChange::getProjectId, allVersionProjectId) |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getDesc()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.THE_JOINT_REVIEW_OF_PROVINCIAL_DEPARTMENTS_FAILED)); |
|
|
|
.eq(ProjectStatusChange::getBeforeStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode()) |
|
|
|
.eq(ProjectStatusChange::getAfterStatus, ProjectStatusEnum.THE_JOINT_REVIEW_OF_PROVINCIAL_DEPARTMENTS_FAILED.getCode())); |
|
|
|
if(Objects.nonNull(rejectChange)){ |
|
|
|
processDetailVO.setFinishTime(rejectChange.getCreateOn()); |
|
|
|
} |
|
|
|