From a7556c6e3acbc7f8a2e14499330c7088f53bb141 Mon Sep 17 00:00:00 2001
From: 15178832520 <121184950@qq.com>
Date: 星期一, 15 六月 2020 23:31:07 +0800
Subject: [PATCH] 威微信æŽ加入小程序/公众号åˆ类型字段

---
 java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
index eb267cc..4ba5de8 100644
--- a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
@@ -91,6 +91,13 @@
         <if test="relTypeCd !=null and relTypeCd != ''">
             and t.rel_type_cd= #{relTypeCd}
         </if>
+        <if test="relTypeCds !=null">
+            and t.rel_type_cd in
+            <foreach collection="relTypeCds" open="(" close=")"
+                     separator="," item="item">
+                #{item}
+            </foreach>
+        </if>
         <if test="saveWay !=null and saveWay != ''">
             and t.save_way= #{saveWay}
         </if>
@@ -158,6 +165,13 @@
         <if test="relTypeCd !=null and relTypeCd != ''">
             and t.rel_type_cd= #{relTypeCd}
         </if>
+        <if test="relTypeCds !=null">
+            and t.rel_type_cd in
+            <foreach collection="relTypeCds" open="(" close=")"
+                     separator="," item="item">
+                #{item}
+            </foreach>
+        </if>
         <if test="saveWay !=null and saveWay != ''">
             and t.save_way= #{saveWay}
         </if>

--
Gitblit v1.8.0