From 5a2873960e3db2d500cfc549ff568dc4bf0aa881 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期二, 17 十二月 2024 09:14:51 +0800
Subject: [PATCH] 1

---
 ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopPointMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopPointMapper.xml b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopPointMapper.xml
index 6cf12a0..51e5f7e 100644
--- a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopPointMapper.xml
+++ b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopPointMapper.xml
@@ -34,6 +34,12 @@
                             #{shopId}
                         </foreach>
                     </if>
+                    <if test="type != null">
+                        AND `type` = #{type}
+                    </if>
+                    <if test="startTime != null and endTime != null">
+                        AND create_time BETWEEN #{startTime} AND #{endTime}
+                    </if>
                 </where>
             ) AS subquery
         WHERE

--
Gitblit v1.7.1