记得上下班打卡 | git大法好,push需谨慎

Commit 1a1bacb0 authored by 胡佳晨's avatar 胡佳晨

修改 库存不足文案

parent 90d4c614
......@@ -303,6 +303,9 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
List<String> boxSkuId = CollectionUtil.linkedListString();
for (String key : skuMap.keySet()) {
Integer stockNum = skuMap.get(key);
if (stockNum == 0) {
continue;
}
//库存
int skuStock = redisUtils.decrSkuStock(null, key, stockNum);
log.info("盲盒库存 SKUID = " + key + " 数量 = " + stockNum);
......
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