From 6676f28a5a6ca65015a2b2c26e804fa998d625c8 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 26 九月 2023 21:37:07 +0800
Subject: [PATCH] 后台代码

---
 cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml b/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml
index 6244d3e..c6db7fa 100644
--- a/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml
+++ b/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml
@@ -16,4 +16,22 @@
             and appUserId = #{appUserId}
         </if>
     </select>
+
+    <select id="listAll" resultType="com.dsh.other.entity.SiteBooking">
+        select * from t_site_booking t1
+        <where>
+        <if test="amount!=null and amount!= ''">
+            and t1.payMoney &lt;= #{amount}
+        </if>
+        <if test="query.userIds != null and query.userIds.size()>0">
+            AND t1.appUserId IN
+            <foreach collection="query.userIds" separator="," item="id" open="(" close=")">
+                #{id}
+            </foreach>
+        </if>
+        <if test="sTime !=null and sTime!= '' and eTime !=null and eTime!= ''">
+            and t1.insertTime between #{sTime} and #{eTime}
+        </if>
+        </where>
+    </select>
 </mapper>

--
Gitblit v1.7.1