|
|
@@ -14,11 +14,10 @@ import com.ningdatech.pmapi.projectdeclared.entity.dto.DeclaredProjectListParamD |
|
|
|
import com.ningdatech.pmapi.projectdeclared.entity.dto.ProjectConditionDto; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.entity.dto.ProjectDraftSaveDto; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.entity.vo.ProjectDeclaredDetailVO; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.entity.vo.ProjectDeclaredListItemVO; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.entity.vo.ProjectDraftVo; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.IProjectDraftService; |
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.dto.ProjectDto; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.dto.ProjectDTO; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.Project; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.ProjectApplication; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.vo.ProjectLibListItemVO; |
|
|
@@ -134,7 +133,7 @@ public class DeclaredProjectManage { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public String startTheProcess(DeclaredProjectDto dto) { |
|
|
|
ProjectDto projectInfo = dto.getProjectInfo(); |
|
|
|
ProjectDTO projectInfo = dto.getProjectInfo(); |
|
|
|
String regionCode = projectInfo.getAreaCode(); |
|
|
|
|
|
|
|
WflowModels model = processModelService.getOne(Wrappers.lambdaQuery(WflowModels.class) |
|
|
@@ -175,7 +174,7 @@ public class DeclaredProjectManage { |
|
|
|
* @param projectDto |
|
|
|
* @param instanceId |
|
|
|
*/ |
|
|
|
private void saveProject(ProjectDto projectDto, String instanceId, String regionCode) { |
|
|
|
private void saveProject(ProjectDTO projectDto, String instanceId, String regionCode) { |
|
|
|
//流程启动之后 入库项目 重要业务信息 用于列表查询 展示 |
|
|
|
try { |
|
|
|
//保存项目表信息 |
|
|
@@ -211,7 +210,7 @@ public class DeclaredProjectManage { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public Long saveToDraft(ProjectDraftSaveDto dto) { |
|
|
|
ProjectDto projectInfo = dto.getProjectInfo(); |
|
|
|
ProjectDTO projectInfo = dto.getProjectInfo(); |
|
|
|
ProjectDraft draft = new ProjectDraft(); |
|
|
|
BeanUtils.copyProperties(projectInfo, draft); |
|
|
|
draft.setUserId(dto.getUser().getUserId()); |
|
|
|