Commit 30c464e3 authored by wlx@33.cn's avatar wlx@33.cn

优化盲盒下单

parent e6432353
...@@ -40,6 +40,8 @@ public class IOrderBindBoxServiceImpl implements IOrderBindBoxService { ...@@ -40,6 +40,8 @@ public class IOrderBindBoxServiceImpl implements IOrderBindBoxService {
int i = goodSkuMapper.delStock(result.getSkuId(), GoodMainConst.BLIND_BOX_ORDER_SKU_NUM, result.getUpdateTime()); int i = goodSkuMapper.delStock(result.getSkuId(), GoodMainConst.BLIND_BOX_ORDER_SKU_NUM, result.getUpdateTime());
if (i == 0) { if (i == 0) {
skuList.remove(result); skuList.remove(result);
}else{
break;
} }
} }
return result; return result;
......
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