From c29c26cc089380abae8fceb30175fa348c9cb06d Mon Sep 17 00:00:00 2001 From: WendyYang Date: Tue, 3 Dec 2024 19:01:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=201.=20=E4=BF=AE=E6=94=B9=E5=90=8E?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E4=BA=A4=E5=BB=BA=E8=AE=BE=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E4=BD=BF=E7=94=A8=E5=89=8D=E7=AB=AF=E4=BC=A0=E5=8F=82?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hz/pm/api/projectdeclared/manage/ProjectReviewManage.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java index e5ac1fb..245e5cc 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java @@ -337,9 +337,12 @@ public class ProjectReviewManage { public synchronized void resubmitByModify(DefaultDeclaredDTO req) { ProjectDTO reqProj = req.getProjectInfo(); Assert.notNull(reqProj.getId(), "项目ID不能为空"); - UserInfoDetails user = LoginUserUtil.userDetailNotNull(); - reqProj.setBuildOrgCode(user.getMhUnitIdStr()); - reqProj.setBuildOrgName(user.getMhUnitName()); + + if (StrUtil.isBlank(reqProj.getBuildOrgCode())) { + UserInfoDetails user = LoginUserUtil.userDetailNotNull(); + reqProj.setBuildOrgCode(user.getMhUnitIdStr()); + reqProj.setBuildOrgName(user.getMhUnitName()); + } Project oldProj = projectService.getNoNull(reqProj.getId()); //首先要判断 项目当前状态 是不是 单位内部拒绝