cloudroam
2024-11-27 0d0a028920745bcdc5d9ddbf0ab3cbccfe167c63
src/main/java/com/mzl/flower/service/point/PointGoodsService.java
@@ -190,8 +190,6 @@
            //更新库存
            p.setStock(p.getStock()- dto.getNum());
            pointGoodsMapper.updateById(p);
        }catch (Exception e){
            throw new ValidationException("兑换失败");
        }finally {
            lockService.releaseObjectLock(key,"");
        }