|
@@ -155,10 +155,10 @@ public class ProductStoreRelaServiceImpl implements ProductStoreRelaService {
|
|
|
if(!StringUtils.isNotEmpty(goodsEntity.getPrimaryPicUrl())){
|
|
|
throw new RRException("该商品主图不能为空!请先在商品管理》所有商品中维护商品编号为【"+goodsEntity.getGoodsSn()+"】的商品主图信息,再来操作门店商品数据");
|
|
|
}
|
|
|
- List<GoodsGalleryEntity> galleryEntityList = goodsGalleryDao.queryObjectByGoodId(goodsEntity.getId());
|
|
|
- if (galleryEntityList == null || galleryEntityList.size() <= 0) {
|
|
|
- throw new RRException("该商品轮播图不能为空!请先在商品管理》所有商品中维护商品编号为【"+goodsEntity.getGoodsSn()+"】的商品详情轮播图信息,再来操作门店商品数据");
|
|
|
- }
|
|
|
+// List<GoodsGalleryEntity> galleryEntityList = goodsGalleryDao.queryObjectByGoodId(goodsEntity.getId());
|
|
|
+// if (galleryEntityList == null || galleryEntityList.size() <= 0) {
|
|
|
+// throw new RRException("该商品轮播图不能为空!请先在商品管理》所有商品中维护商品编号为【"+goodsEntity.getGoodsSn()+"】的商品详情轮播图信息,再来操作门店商品数据");
|
|
|
+// }
|
|
|
}
|
|
|
if (productStoreRela.getStoreId() != null) {
|
|
|
StoreEntity store = storeDao.queryObject(productStoreRela.getStoreId().intValue());
|