|
|
|
@@ -513,7 +513,7 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
wxCouponMapper.backInventory(coupon.getId(), coupon.getRemainInventory(), 1); |
|
|
|
wxCouponMapper.backInventory(coupon.getId(), 1, coupon.getRemainInventory()); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("数据库更新失败,库存+1失败, e:" + e.getMessage()); |
|
|
|
throw new MallinkException(ErrorCode.DB_FAIL.getCode(), "库存恢复失败"); |
|
|
|
|