Browse Source

修改bug 工作流

tags/24080901
PoffyZhang 1 year ago
parent
commit
9942323aa9
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 6
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -954,7 +954,12 @@ public class TodoCenterManage {
VUtils.isTrue(Objects.isNull(projectInfo)).throwMessage("调整失败 此项目不存在!");

//项目名称去重
defaultDeclaredProjectManage.checkDuplication(projectDto);
//项目名称去重
if(StringUtils.isNotBlank(projectDto.getProjectName()) &&
!projectDto.getProjectName().equals(projectInfo.getProjectName())){
projectDto.setProjectCode(projectInfo.getProjectCode());
defaultDeclaredProjectManage.checkDuplication(projectDto);
}
defaultDeclaredProjectManage.checkAmount(projectDto);

//修改项目内容


Loading…
Cancel
Save