From d85000e8f03740bd68523a36e108065a8168bd6a Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 19 七月 2023 09:09:24 +0800
Subject: [PATCH] 更新预约场地部分接口

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

diff --git a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
index cf93290..a5628c3 100644
--- a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
+++ b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
@@ -30,6 +30,9 @@
         <if test="null != item.storeId">
             and a.storeId = #{item.storeId}
         </if>
+        <if test="null != item.search and '' != item.search">
+            and (a.name like CONCAT('%', #{item.search}, '%') or b.name like CONCAT('%', #{item.search}, '%'))
+        </if>
         order by a.insertTime desc limit #{item.pageNum}, #{item.pageSize}
     </select>
 </mapper>

--
Gitblit v1.7.1