From 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 25 五月 2023 18:07:08 +0800
Subject: [PATCH] optimize
---
java110-db/src/main/resources/mapper/user/OwnerSettledApplyV1ServiceDaoImplMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerSettledApplyV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerSettledApplyV1ServiceDaoImplMapper.xml
index 619a516..55cecd7 100644
--- a/java110-db/src/main/resources/mapper/user/OwnerSettledApplyV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerSettledApplyV1ServiceDaoImplMapper.xml
@@ -29,6 +29,13 @@
<if test="applyId !=null and applyId != ''">
and t.apply_id= #{applyId}
</if>
+
+ <if test="applyIds !=null ">
+ and t.apply_id in
+ <foreach collection="applyIds" item="item" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="createUserId !=null and createUserId != ''">
and t.create_user_id= #{createUserId}
</if>
@@ -96,6 +103,12 @@
<if test="applyId !=null and applyId != ''">
and t.apply_id= #{applyId}
</if>
+ <if test="applyIds !=null ">
+ and t.apply_id in
+ <foreach collection="applyIds" item="item" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="createUserId !=null and createUserId != ''">
and t.create_user_id= #{createUserId}
</if>
--
Gitblit v1.8.0