From 4e4b96ef73db8d36d1cc7e2ec87d38d397c96078 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期四, 26 一月 2023 16:26:48 +0800
Subject: [PATCH] 优化审核代码
---
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