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 58dc32f..f8cb185 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 @@ -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("提交失败,该项目不是立项备案审核不通过状态或者未立项阶段");