From 4d5f9b2c6177b5018e2c34ade73e53410345d1b5 Mon Sep 17 00:00:00 2001
From: gongzuming <gongzuming>
Date: 星期一, 02 九月 2024 09:22:44 +0800
Subject: [PATCH] 积分过期优化

---
 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