From 1184a1281bca6e537d27d0c5c843bc5f44e05a68 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 06 四月 2022 16:48:26 +0800
Subject: [PATCH] 花城E+临时处理

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActReserveMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActReserveMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActReserveMapper.xml
index 236f5b6..b1d4215 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActReserveMapper.xml
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActReserveMapper.xml
@@ -47,7 +47,9 @@
         select id,title,type,img_type, img_url,adver_position_top, adver_position_application from com_act_reserve
         <where>
             status = 2 and adver_position_application = 1
-                and community_id = 1
+            <if test="communityId !=null">
+                and (community_id = ${communityId} or community_id = 1)
+            </if>
         </where>
     </select>
 

--
Gitblit v1.7.1