From 59f36e2501b2a4713a0cdf118e4736de77003511 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 25 八月 2021 11:32:12 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
index cb72fd0..f33f66b 100644
--- a/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
@@ -154,6 +154,12 @@
         <if test="id !=null and id != ''">
             and t.id = #{id}
         </if>
+        <if test="ids != null">
+            and t.id in
+            <foreach collection="ids" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="createUserName !=null and createUserName != ''">
             and t.create_user_name = #{createUserName}
         </if>

--
Gitblit v1.8.0