|
@@ -175,8 +175,8 @@ public class ProductStoreRelaServiceImpl implements ProductStoreRelaService {
|
|
if(!goodsEntity.getMerchSn().equalsIgnoreCase(productStoreRela.getMerchSn())) {
|
|
if(!goodsEntity.getMerchSn().equalsIgnoreCase(productStoreRela.getMerchSn())) {
|
|
throw new RRException("该商品所属商户不属于该门店所属商户!");
|
|
throw new RRException("该商品所属商户不属于该门店所属商户!");
|
|
}
|
|
}
|
|
- //校验总库存
|
|
|
|
- checkStockNum(productStoreRela, goodsEntity, isStockShare);
|
|
|
|
|
|
+ // 校验总库存 取消园区库存校验
|
|
|
|
+ // checkStockNum(productStoreRela, goodsEntity, isStockShare);
|
|
|
|
|
|
String storeId = String.valueOf(productStoreRela.getStoreId());
|
|
String storeId = String.valueOf(productStoreRela.getStoreId());
|
|
String goodsId = String.valueOf(goodsEntity.getId());
|
|
String goodsId = String.valueOf(goodsEntity.getId());
|
|
@@ -325,8 +325,8 @@ public class ProductStoreRelaServiceImpl implements ProductStoreRelaService {
|
|
if(!goodsEntity.getMerchSn().equalsIgnoreCase(productStoreRela.getMerchSn())) {
|
|
if(!goodsEntity.getMerchSn().equalsIgnoreCase(productStoreRela.getMerchSn())) {
|
|
throw new RRException("该商品所属商户不属于该门店所属商户!");
|
|
throw new RRException("该商品所属商户不属于该门店所属商户!");
|
|
}
|
|
}
|
|
- //校验总库存
|
|
|
|
- checkStockNum(productStoreRela, goodsEntity, isStockShare);
|
|
|
|
|
|
+ // 校验总库存 取消园区库存校验
|
|
|
|
+ // checkStockNum(productStoreRela, goodsEntity, isStockShare);
|
|
|
|
|
|
String storeId = String.valueOf(productStoreRela.getStoreId());
|
|
String storeId = String.valueOf(productStoreRela.getStoreId());
|
|
String goodsId = String.valueOf(goodsEntity.getId());
|
|
String goodsId = String.valueOf(goodsEntity.getId());
|