From ba5210dc8c6c537cacc59c18d58baa9744cd2b9d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 10 五月 2022 11:14:39 +0800
Subject: [PATCH] 优化报修单推送bug

---
 java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
index 9465cfd..738774e 100755
--- a/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
@@ -87,6 +87,13 @@
         <if test="appId !=null and appId != ''">
             and t.app_id= #{appId}
         </if>
+        <if test="appIds !=null ">
+            and t.app_id in
+            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+
         <if test="blackListIp !=null and blackListIp != ''">
             and t.black_list_ip= #{blackListIp}
         </if>
@@ -147,6 +154,12 @@
         <if test="appId !=null and appId != ''">
             and t.app_id= #{appId}
         </if>
+        <if test="appIds !=null ">
+            and t.app_id in
+            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="blackListIp !=null and blackListIp != ''">
             and t.black_list_ip= #{blackListIp}
         </if>

--
Gitblit v1.8.0