From aba8d209561a130b6d849d96ff202fe172b1ad92 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 11 十一月 2025 13:54:33 +0800
Subject: [PATCH] 玩湃本次新增迭代所有代码

---
 cloud-server-other/src/main/resources/mapper/SiteMapper.xml |    4 ++++
 1 files changed, 4 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 b7bcca4..f7d8693 100644
--- a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
+++ b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml
@@ -46,6 +46,9 @@
         <if test="null != item.search and '' != item.search">
             and (a.name like CONCAT('%', #{item.search}, '%') or b.name like CONCAT('%', #{item.search}, '%'))
         </if>
+        <if test="null != item.targetAudience and '' != item.targetAudience">
+            and (a.targetAudience like CONCAT('%', #{item.targetAudience}, '%'))
+        </if>
         order by a.insertTime desc limit #{item.pageNum}, #{item.pageSize}
     </select>
 
@@ -62,6 +65,7 @@
         a.payMoney as payMoney,
         a.payType as payType,
         a.isHalf as isHalf,
+        a.targetAudience as targetAudience,
         CONCAT(DATE_FORMAT(a.startTime, '%Y-%m-%d %H:%i'), '-', DATE_FORMAT(a.endTime, '%H:%i')) as appointment,
         a.`status`,
         UNIX_TIMESTAMP(a.insertTime) * 1000 as insertTime

--
Gitblit v1.7.1