feat:过期时间判断

This commit is contained in:
dzc committed 2026-05-28 15:59:00 +08:00
1 parent fc820ba3b1
commit 42e3e273fe
1 file changed
+2 -2
@@ -38,7 +38,7 @@
and a.status = #{dto.status}
</if>
<if test="dto.isFindNoExpire != null and dto.isFindNoExpire == true ">
and a.end_time >= now()
and a.end_time >= now() and a.start_time &lt;= now()
</if>
<if test="dto.statusCodeList != null and dto.statusCodeList.size() != 0">
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 &lt;= now()
and a.user_id = #{userId}
<if test="statusCodeList != null and statusCodeList.size() != 0">
and a.status IN