src/main/java/com/mzl/flower/service/impl/coupon/CouponRecordServiceImpl.java
@@ -497,7 +497,7 @@ // 查询订单使用的优惠券 final CouponRecordDO couponRecordDO = getCouponByOrderId(orderId); if(null==couponRecordDO){ throw new IllegalArgumentException("优惠券不存在,无法操作"); return false; } log.info("优惠券退回之前:"+ JSON.toJSONString(couponRecordDO)); couponRecordDO.setStatus(CouponUsedStatusEnum.UNUSED.getType());