From 86905014b731a3f1b99b8ff5c98c8aabaab07b23 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 02 九月 2024 17:03:25 +0800
Subject: [PATCH] 1.优惠券-活动添加字段 2.优惠券-领取超领控制 3.优惠券-会员优惠券的方法修改 4.优惠券-查询优惠券前根据时间更新当前用户优惠券是否过期

---
 src/main/resources/mapper/point/CustomerPointDetailMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/point/CustomerPointDetailMapper.xml b/src/main/resources/mapper/point/CustomerPointDetailMapper.xml
index 4e7b369..6e4689e 100644
--- a/src/main/resources/mapper/point/CustomerPointDetailMapper.xml
+++ b/src/main/resources/mapper/point/CustomerPointDetailMapper.xml
@@ -29,7 +29,7 @@
         WHERE p.deleted= 0
         <if test="lastYear!=null ">
             <![CDATA[
-               p.record_date <= #{lastYear}
+               and p.record_date <= #{lastYear}
             ]]>
         </if>
         GROUP BY

--
Gitblit v1.9.3