Browse Source

省级联审

tags/24080901
PoffyZhang 1 year ago
parent
commit
895f991305
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProvinceUnitedReviewHandle.java

+ 6
- 6
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProvinceUnitedReviewHandle.java View File

@@ -56,8 +56,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle {
processDetailVO.setStepStatus(StepStatusEnum.ON_GOING); processDetailVO.setStepStatus(StepStatusEnum.ON_GOING);
ProjectStatusChange startChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) ProjectStatusChange startChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class)
.in(ProjectStatusChange::getProjectId, allVersionProjectId) .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)){ if(Objects.nonNull(startChange)){
processDetailVO.setFinishTime(startChange.getCreateOn()); processDetailVO.setFinishTime(startChange.getCreateOn());
} }
@@ -65,8 +65,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle {
processDetailVO.setStepStatus(StepStatusEnum.COMPLETED); processDetailVO.setStepStatus(StepStatusEnum.COMPLETED);
ProjectStatusChange passChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) ProjectStatusChange passChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class)
.in(ProjectStatusChange::getProjectId, allVersionProjectId) .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)){ if(Objects.nonNull(passChange)){
processDetailVO.setFinishTime(passChange.getCreateOn()); processDetailVO.setFinishTime(passChange.getCreateOn());
} }
@@ -74,8 +74,8 @@ public class ProvinceUnitedReviewHandle extends AbstractProcessBusinessHandle {
processDetailVO.setStepStatus(StepStatusEnum.REJECTED); processDetailVO.setStepStatus(StepStatusEnum.REJECTED);
ProjectStatusChange rejectChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class) ProjectStatusChange rejectChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class)
.in(ProjectStatusChange::getProjectId, allVersionProjectId) .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)){ if(Objects.nonNull(rejectChange)){
processDetailVO.setFinishTime(rejectChange.getCreateOn()); processDetailVO.setFinishTime(rejectChange.getCreateOn());
} }


Loading…
Cancel
Save