Kaynağa Gözat

项目阶段debug

master
PoffyZhang 1 yıl önce
ebeveyn
işleme
6f8f50ca19
2 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. +4
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProcessExecuteChainHandle.java
  2. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProjectApprovalHandle.java

+ 4
- 4
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProcessExecuteChainHandle.java Dosyayı Görüntüle

@@ -56,15 +56,15 @@ public class ProcessExecuteChainHandle {
for (AbstractProcessBusinessHandle processBusinessHandle : processBusinessHandles) {
if(Objects.nonNull(project) && RegionContant.LS_LQ_CODE.equals(project.getAreaCode())) {
if(processBusinessHandle instanceof AnnualPlanHandle){
processBusinessHandle.setOrder(5);
}else if(processBusinessHandle instanceof ConstructionPlanReviewHandle){
processBusinessHandle.setOrder(6);
}else if(processBusinessHandle instanceof ConstructionPlanReviewHandle){
processBusinessHandle.setOrder(5);
}
}else{
if(processBusinessHandle instanceof AnnualPlanHandle){
processBusinessHandle.setOrder(6);
}else if(processBusinessHandle instanceof ConstructionPlanReviewHandle){
processBusinessHandle.setOrder(5);
}else if(processBusinessHandle instanceof ConstructionPlanReviewHandle){
processBusinessHandle.setOrder(6);
}
}
if(processBusinessHandle instanceof ConstructionPlanReviewHandle){


+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/handle/ProjectApprovalHandle.java Dosyayı Görüntüle

@@ -95,9 +95,9 @@ public class ProjectApprovalHandle extends AbstractProcessBusinessHandle {
} else {
// 取 状态机 改变状态时间
ProjectStatusChange projectStatusChange = projectStatusChangeService.getOne(Wrappers.lambdaQuery(ProjectStatusChange.class)
.eq(ProjectStatusChange::getProjectId, projectId)
.in(ProjectStatusChange::getProjectId, allVersionProjectIds)
.eq(ProjectStatusChange::getEvent, ProjectStatusChangeEvent.PROJECT_APPROVAL.name())
.last("limit 1"));
.last(BizConst.LIMIT_1));
if (Objects.nonNull(projectStatusChange)) {
processDetailVO.setFinishTime(projectStatusChange.getCreateOn());
processDetailVO.setStepStatus(StepStatusEnum.COMPLETED);


Yükleniyor…
İptal
Kaydet