退单针对商品不存在的问题处理
This commit is contained in:
parent
2661277bd2
commit
eeb7f05706
@ -1501,8 +1501,9 @@ public class ShopOrderReturnServiceImpl extends BaseServiceImpl<ShopOrderReturnM
|
||||
ShopProductItem productItem = shopProductItemService.get(itemId);
|
||||
|
||||
if (productItem == null) {
|
||||
logger.error("该订单商品表-SKU表信息不存在!商品项ID: {}", itemId);
|
||||
throw new ApiException(I18nUtil._("该订单商品表-SKU表信息不存在!"));
|
||||
logger.error("该订单商品表-SKU表信息不存在!商品项ID: {}", itemId);//说明这个itemid已经不存在了,不对库存操作
|
||||
continue;
|
||||
// throw new ApiException(I18nUtil._("该订单商品表-SKU表信息不存在!"));
|
||||
}
|
||||
|
||||
// 增加库存
|
||||
|
||||
Loading…
Reference in New Issue
Block a user