Commit e8ced6be by 周晓航

添加代码注释

parent 71c08559
...@@ -2372,6 +2372,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -2372,6 +2372,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if (Objects.isNull(availableStocks)) { if (Objects.isNull(availableStocks)) {
return; return;
} }
// 商品服务 返回null 或者 qty=null 表示不限制库存
List<GetProductStockResponseDto.DataBean> result = availableStocks.getResult(); List<GetProductStockResponseDto.DataBean> result = availableStocks.getResult();
if (CollectionUtils.isEmpty(result) || Objects.isNull(result.get(0).getQty())) { if (CollectionUtils.isEmpty(result) || Objects.isNull(result.get(0).getQty())) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment