소스 검색

xwh修改产品备案模板

xwh 4 년 전
부모
커밋
d6240a8f8e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      kmall-admin/src/main/java/com/kmall/admin/service/impl/GoodsProductServiceImpl.java

+ 3 - 3
kmall-admin/src/main/java/com/kmall/admin/service/impl/GoodsProductServiceImpl.java

@@ -99,9 +99,9 @@ public class GoodsProductServiceImpl implements GoodsProductService {
                 if (StringUtils.isEmpty(goodsProductDto.getProdEname())) {
                     throw new RRException("第" + count + "行的商品英文名为空!");
                 }
-                if (StringUtils.isEmpty(goodsProductDto.getProdBrand())) {
-                    throw new RRException("第" + count + "行的品牌为空!");
-                }
+//                if (StringUtils.isEmpty(goodsProductDto.getProdBrand())) {
+//                    throw new RRException("第" + count + "行的品牌为空!");
+//                }
                 if (StringUtils.isEmpty(goodsProductDto.getProdBrandCn()) && StringUtils.isEmpty(goodsProductDto.getProdBrandEn())) {
                     throw new RRException("第" + count + "行的品牌中文或品牌英文必填其中之一!");
                 }