|
|
@@ -16,7 +16,7 @@ import com.ningdatech.pmapi.projectdeclared.entity.dto.ProjectDraftSaveDto; |
|
|
|
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.service.IProjectApplicationService; |
|
|
@@ -104,7 +104,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) |
|
|
@@ -145,7 +145,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 { |
|
|
|
//保存项目表信息 |
|
|
@@ -181,7 +181,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()); |
|
|
|