|
|
@@ -269,7 +269,6 @@ public class DeclaredRecordManage { |
|
|
|
BeanUtils.copyProperties(req.getProjectInfo(), condition); |
|
|
|
req.getFormData().putAll(JSON.parseObject(JSON.toJSONString(condition), TypeReferenceConst.STR_OBJ_MAP)); |
|
|
|
params.setFormData(req.getFormData()); |
|
|
|
//开始申报 |
|
|
|
// 获取发起单位、发起单位主管单位、发起单位上级主管条线单位信息 |
|
|
|
Project project = new Project(); |
|
|
|
BeanUtils.copyProperties(reqProj, project); |
|
|
@@ -277,8 +276,8 @@ public class DeclaredRecordManage { |
|
|
|
String instanceId = processInstanceService.startProcessLs(model, params, orgModelMap); |
|
|
|
log.info("立项备案成功 【{}】", instanceId); |
|
|
|
|
|
|
|
// 如果是重新提交的话 判断下 项目是否存在 |
|
|
|
// 保存项目相关 |
|
|
|
reqProj.setId(oldProj.getId()); |
|
|
|
Project newProj = projectLibManage.saveProjectInDeclared(reqProj, instanceId, user.getUserId(), |
|
|
|
ProjectStatus.NOT_APPROVED, ProjectStatus.DECLARED_APPROVED_TO_BE_RECORD, |
|
|
|
ProjectProcessType.PROJECT_RECORD_APPROVAL_PROCESS); |
|
|
|