|
@@ -786,7 +786,7 @@ public class SysImplementPlanManager {
|
|
|
|
|
|
// 校验名称
|
|
|
List<SysImplementPlanDTO.OnBatchCreate> onBatchCreates = collect.get(planName);
|
|
|
- if (CollUtil.isNotEmpty(onBatchCreates)) {
|
|
|
+ if (CollUtil.isNotEmpty(onBatchCreates) && onBatchCreates.size() > 1) {
|
|
|
errorMsg.append("表单内存在重名服务计划名称;");
|
|
|
} else {
|
|
|
boolean dupName = implementPlanService.dupName(planName, deptId);
|
|
@@ -797,11 +797,11 @@ public class SysImplementPlanManager {
|
|
|
|
|
|
// 校验承接单位
|
|
|
if (CollUtil.isEmpty(deptMap)) {
|
|
|
- errorMsg.append("承接人不存在;");
|
|
|
+ errorMsg.append("承接对象不存在;");
|
|
|
} else {
|
|
|
SysDept sysDept = deptMap.get(consignee);
|
|
|
if (sysDept == null) {
|
|
|
- errorMsg.append("产品不存在;");
|
|
|
+ errorMsg.append("承接对象不存在;");
|
|
|
}
|
|
|
}
|
|
|
|