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