diff --git a/service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java b/service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java index 21a21f9..08ce9e1 100644 --- a/service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java +++ b/service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java @@ -285,7 +285,7 @@ public class BsOrderServiceImpl implements BsOrderService { throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "优惠券状态不处于待使用"); } discountUserRel.setStatus(2); - discountUserRel.setUseEndTime(new Date()); + discountUserRel.setUseTime(new Date()); couponDiscountUserRelService.update(discountUserRel); // 查询优惠券 CouponDiscount discount = couponDiscountService.queryDetail(discountUserRel.getDiscountId());