fix: 81952 企标计划变更--合并--没有校验新企业编号的唯一性

This commit is contained in:
2024-02-22 13:45:26 +08:00
parent dd71c85b8e
commit f410b16c5c
@@ -365,6 +365,11 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
throw new JeroBootException(ResultCommon.EN_STANDARD_NUMBER_CONFLICT);
}
}
if (initChange.getProjectType().equals(ESPProjectType.MERGE.getValue())) {
if (!esUtil.verifyEnStandardNumber(initChange.getNewEnStandardNo())) {
throw new JeroBootException(ResultCommon.EN_STANDARD_NUMBER_CONFLICT);
}
}
}
public void startRunTask(InitChangeDataVO initChangeData) {