Browse Source

feat:

1. 修改后重新提交建设单位使用前端传参;
tags/24121201
WendyYang 1 month ago
parent
commit
c29c26cc08
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java

+ 6
- 3
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java View File

@@ -337,9 +337,12 @@ public class ProjectReviewManage {
public synchronized void resubmitByModify(DefaultDeclaredDTO req) { public synchronized void resubmitByModify(DefaultDeclaredDTO req) {
ProjectDTO reqProj = req.getProjectInfo(); ProjectDTO reqProj = req.getProjectInfo();
Assert.notNull(reqProj.getId(), "项目ID不能为空"); 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()); Project oldProj = projectService.getNoNull(reqProj.getId());
//首先要判断 项目当前状态 是不是 单位内部拒绝 //首先要判断 项目当前状态 是不是 单位内部拒绝


Loading…
Cancel
Save