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()); //首先要判断 项目当前状态 是不是 单位内部拒绝