From 314fa5d979a023a99b13124e32649c4c4df7dcba Mon Sep 17 00:00:00 2001 From: WendyYang Date: Mon, 8 Jul 2024 09:47:59 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E4=BF=AE=E5=A4=8D=E7=AB=8B?= =?UTF-8?q?=E9=A1=B9=E5=A4=87=E6=A1=88=E9=87=8D=E5=A4=8D=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java index 938e710..0150c00 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java @@ -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);