|
|
@@ -1,10 +1,7 @@ |
|
|
|
package com.ningdatech.pmapi.staging.utils; |
|
|
|
|
|
|
|
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.projectlib.enumeration.ProjectStatusEnum; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.Project; |
|
|
@@ -27,7 +24,7 @@ import java.util.function.Function; |
|
|
|
public class ProjectStatusFlowMapUtil { |
|
|
|
private final ReviewByProvincialDeptManage provincialDeptManage; |
|
|
|
|
|
|
|
private final ReviewByProvincialDeptManage provincialDeptManage; |
|
|
|
private final ReviewByDeptJointManage reviewByDeptJointManage; |
|
|
|
|
|
|
|
public Map<Integer, Function<Project,Boolean>> statusFlowFunctionMap = Maps.newHashMap(); |
|
|
|
/** |
|
|
@@ -47,7 +44,7 @@ public class ProjectStatusFlowMapUtil { |
|
|
|
project->provincialDeptManage.startTheProcess(project)); |
|
|
|
//部门联审 |
|
|
|
statusFlowFunctionMap.put(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW.getCode(), |
|
|
|
project->provincialDeptManage.startTheProcess(project)); |
|
|
|
project->reviewByDeptJointManage.startTheProcess(project)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|