From 42e3e273fee22caca11cfb4eab21856cfcacdc6a Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Thu, 28 May 2026 15:59:00 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/act/ActCouponRecordMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml
index 63122b9cf..abbb6c231 100755
--- a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml
+++ b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml
@@ -38,7 +38,7 @@
and a.status = #{dto.status}
- and a.end_time >= now()
+ and a.end_time >= now() and a.start_time <= now()
and a.status IN
@@ -80,7 +80,7 @@
select count(0)
from act_coupon_record a
where a.del_flag = '0'
- and a.end_time >= now()
+ and a.end_time >= now() and a.start_time <= now()
and a.user_id = #{userId}
and a.status IN