Browse Source

项目状态暂存库

tags/24080901
PoffyZhang 1 year ago
parent
commit
15b0526281
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      pmapi/src/main/java/com/ningdatech/pmapi/staging/utils/ProjectStatusFlowMapUtil.java

+ 3
- 6
pmapi/src/main/java/com/ningdatech/pmapi/staging/utils/ProjectStatusFlowMapUtil.java View File

@@ -1,10 +1,7 @@
package com.ningdatech.pmapi.staging.utils; package com.ningdatech.pmapi.staging.utils;


import com.google.common.collect.Maps; import com.google.common.collect.Maps;
import com.ningdatech.pmapi.projectdeclared.manage.ConstructionPlanManage;
import com.ningdatech.pmapi.projectdeclared.manage.DeclaredProjectManage;
import com.ningdatech.pmapi.projectdeclared.manage.PrequalificationDeclaredProjectManage;
import com.ningdatech.pmapi.projectdeclared.manage.ReviewByProvincialDeptManage;
import com.ningdatech.pmapi.projectdeclared.manage.*;
import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO; import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum;
import com.ningdatech.pmapi.projectlib.model.entity.Project; import com.ningdatech.pmapi.projectlib.model.entity.Project;
@@ -27,7 +24,7 @@ import java.util.function.Function;
public class ProjectStatusFlowMapUtil { public class ProjectStatusFlowMapUtil {
private final ReviewByProvincialDeptManage provincialDeptManage; private final ReviewByProvincialDeptManage provincialDeptManage;


private final ReviewByProvincialDeptManage provincialDeptManage;
private final ReviewByDeptJointManage reviewByDeptJointManage;


public Map<Integer, Function<Project,Boolean>> statusFlowFunctionMap = Maps.newHashMap(); public Map<Integer, Function<Project,Boolean>> statusFlowFunctionMap = Maps.newHashMap();
/** /**
@@ -47,7 +44,7 @@ public class ProjectStatusFlowMapUtil {
project->provincialDeptManage.startTheProcess(project)); project->provincialDeptManage.startTheProcess(project));
//部门联审 //部门联审
statusFlowFunctionMap.put(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW.getCode(), statusFlowFunctionMap.put(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW.getCode(),
project->provincialDeptManage.startTheProcess(project));
project->reviewByDeptJointManage.startTheProcess(project));
} }


/** /**


Loading…
Cancel
Save