|
|
@@ -156,7 +156,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); |
|
|
|
|
|
|
@@ -220,7 +222,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); |
|
|
|
|
|
|
@@ -329,8 +333,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())){ |
|
|
|