Browse Source

新生成项目版本号

tags/24080901
PoffyZhang 1 year ago
parent
commit
54a8cba894
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ProjectAdjustmentManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ProjectAdjustmentManage.java View File

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

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



Loading…
Cancel
Save