|
|
@@ -144,7 +144,9 @@ public class DeclaredProjectManage { |
|
|
|
params.setFormData(dto.getFormData()); |
|
|
|
//开始申报 |
|
|
|
// 获取发起单位、发起单位主管单位、发起单位上级主管条线单位信息 |
|
|
|
Map<String, OrgInfoDTO> orgModelMap = defaultDeclaredProjectManage.getOrgModelInfo(userId); |
|
|
|
Project project = new Project(); |
|
|
|
BeanUtils.copyProperties(projectInfo,project); |
|
|
|
Map<String, OrgInfoDTO> orgModelMap = defaultDeclaredProjectManage.getOrgModelInfo(userId,project); |
|
|
|
String instanceId = processService.newStartProcess(model.getProcessDefId(),model.getFormId(), params,orgModelMap); |
|
|
|
log.info("申报项目成功 【{}】", instanceId); |
|
|
|
|
|
|
@@ -208,7 +210,9 @@ public class DeclaredProjectManage { |
|
|
|
); |
|
|
|
params.setFormData(dto.getFormData()); |
|
|
|
// 获取发起单位、发起单位主管单位、发起单位上级主管条线单位信息 |
|
|
|
Map<String, OrgInfoDTO> orgModelMap = defaultDeclaredProjectManage.getOrgModelInfo(userId); |
|
|
|
Project project = new Project(); |
|
|
|
BeanUtils.copyProperties(projectInfo,project); |
|
|
|
Map<String, OrgInfoDTO> orgModelMap = defaultDeclaredProjectManage.getOrgModelInfo(userId,project); |
|
|
|
String instanceId = processService.newStartProcess(model.getProcessDefId(),model.getFormId(), params,orgModelMap); |
|
|
|
log.info("重新申报项目成功 【{}】", instanceId); |
|
|
|
|
|
|
@@ -317,8 +321,9 @@ public class DeclaredProjectManage { |
|
|
|
ProjectDTO projectInfo = dto.getProjectInfo(); |
|
|
|
ProjectDraft draft = new ProjectDraft(); |
|
|
|
BeanUtils.copyProperties(projectInfo, draft); |
|
|
|
draft.setUserId(dto.getUser().getUserId()); |
|
|
|
draft.setUserId(String.valueOf(userId)); |
|
|
|
draft.setBuildOrgCode(userInfoDetails.getOrganizationCode()); |
|
|
|
draft.setBuildOrgName(userInfoDetails.getOrganizationName()); |
|
|
|
draft.setAreaCode(userInfoDetails.getRegionCode()); |
|
|
|
|
|
|
|
if(CollUtil.isNotEmpty(projectInfo.getDynamicForm())){ |
|
|
|