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

Commit 0869ab28 authored by 胡佳晨's avatar 胡佳晨

多订单退款

parent f4c9eefb
......@@ -130,6 +130,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
log.info("判断逻辑 "+(System.currentTimeMillis()-time3)+"ms");
//库存回滚
if (surplusGeneral < 0) {
redisUtils.incrSkuStock(pre, skuId, number);
throw new Exception("库存不足");
}
}//GoblinOrderSkuParam
......
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