Browse Source

modify:

1. 草稿箱立项备案提交后报错修复;
tags/24080901
WendyYang 4 months ago
parent
commit
aacad82458
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/DeclaredRecordManage.java View File

@@ -238,7 +238,7 @@ public class DeclaredRecordManage {
reqProj.setBuildOrgCode(user.getMhUnitIdStr());
reqProj.setBuildOrgName(user.getMhUnitName());

Project oldProj = projectService.getNoNull(reqProj.getId());
Project oldProj = projectService.getNoNull(reqProj.getProjectCode());

VUtils.isTrue(!ProjectStatus.DECLARED_APPROVED_TO_BE_RECORD.eq(oldProj.getStatus()))
.throwMessage("提交失败,该项目不是立项备案审核不通过状态或者未立项阶段");


Loading…
Cancel
Save