判断企业名称+编号是否是唯一的

This commit is contained in:
gaojiabao
2023-02-17 10:54:25 +08:00
parent 719c98739b
commit 3fca3eed63
2 changed files with 14 additions and 1 deletions
@@ -374,7 +374,7 @@ public class SarBussionessStandController extends BaseController<SarBussionessSt
.eq(null!=sarBussionessStand.getStandNumber(),"STAND_NUMBER",sarBussionessStand.getStandNumber());
Integer s=sarBussionessStandEOService.count(wrapper);
if (s>0){
return Result.error("当前标准编号和中文名称已存在");
return Result.error("当前企业编号和中文名称已存在");
}else {
return Result.success();
}