|
@@ -167,7 +167,7 @@ public class VendorServiceImpl extends CommonBaseServiceImpl<VendorMapper, Vendo
|
|
|
if (!main.getVe_name().equals(oldVendor.getVe_name())){
|
|
if (!main.getVe_name().equals(oldVendor.getVe_name())){
|
|
|
count = getMapper().getCountByName(main.getVe_name(), companyId);
|
|
count = getMapper().getCountByName(main.getVe_name(), companyId);
|
|
|
if (count > 0){
|
|
if (count > 0){
|
|
|
- throw new BizException(BizExceptionCode.REPEAT_CODE);
|
|
|
|
|
|
|
+ throw new BizException(BizExceptionCode.REPEAT_NAME);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|