Browse Source

名字 去重校检

master
PoffyZhang 1 year ago
parent
commit
7b75fae1e6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionPlanManage.java

+ 5
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionPlanManage.java View File

@@ -113,7 +113,11 @@ public class ConstructionPlanManage {
projectInfo.setBuildOrgName(user.getEmpPosUnitName());

// 项目名称去重
defaultDeclaredProjectManage.checkDuplication(projectInfo);
if(StringUtils.isNotBlank(projectInfo.getProjectName()) && !projectInfo.getProjectName()
.equals(oldProject.getProjectName())){
projectInfo.setProjectCode(oldProject.getProjectCode());
defaultDeclaredProjectManage.checkDuplication(projectInfo);
}
//判断申报金额 是否等于总的 判断年度支付金额 是否等于总金额
defaultDeclaredProjectManage.checkAmount(projectInfo);



Loading…
Cancel
Save