完善商品导入的提示,校验基本条码为空
This commit is contained in:
@@ -664,7 +664,7 @@ public class MaterialService {
|
||||
throw new BusinessRunTimeException(ExceptionConstants.MATERIAL_ENABLED_ERROR_CODE,
|
||||
String.format(ExceptionConstants.MATERIAL_ENABLED_ERROR_MSG, i+1));
|
||||
}
|
||||
//校验基本条码长度为空
|
||||
//基本条码为空
|
||||
if(StringUtil.isEmpty(barCode)) {
|
||||
throw new BusinessRunTimeException(ExceptionConstants.MATERIAL_BARCODE_EMPTY_CODE,
|
||||
String.format(ExceptionConstants.MATERIAL_BARCODE_EMPTY_MSG, i+1));
|
||||
|
||||
Reference in New Issue
Block a user