mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
refactor(PmsSkuService.java): 删除多余log
This commit is contained in:
parent
4604c2e6bc
commit
dadcefe4ef
@ -77,7 +77,6 @@ public class PmsSkuServiceImpl extends ServiceImpl<PmsSkuMapper, PmsSku> impleme
|
||||
.eq(PmsSku::getId, lockedSku.getSkuId())
|
||||
.apply("stock_num - locked_stock_num >= {0}", lockedSku.getCount())
|
||||
);
|
||||
log.error("锁定商品 {} 失败", lockedSku.getSkuId());
|
||||
Assert.isTrue(lockResult, "锁定商品 {} 失败", lockedSku.getSkuId());
|
||||
} finally {
|
||||
// 释放锁
|
||||
|
Loading…
Reference in New Issue
Block a user