From 439f77bf7b9ee7426c5abdea6f465cf81333092c Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 27 May 2024 10:30:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hfkj/service/order/impl/BsOrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());