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