From 745d27feae34022ccb708aba034123e08e4e9e14 Mon Sep 17 00:00:00 2001
From: 1098226878@qq.com <1098226878@qq.com>
Date: 星期二, 28 十二月 2021 22:21:16 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
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