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/fee/AccountReceiptV1ServiceDaoImplMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/AccountReceiptV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/AccountReceiptV1ServiceDaoImplMapper.xml
index a1b9841..3171c57 100644
--- a/java110-db/src/main/resources/mapper/fee/AccountReceiptV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/AccountReceiptV1ServiceDaoImplMapper.xml
@@ -30,6 +30,13 @@
         <if test="arId !=null and arId != ''">
             and t.ar_id= #{arId}
         </if>
+        <if test="arIds != null">
+            and t.ar_id in
+            <foreach collection="arIds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+
         <if test="ownerName !=null and ownerName != ''">
             and t.owner_name= #{ownerName}
         </if>
@@ -107,6 +114,12 @@
         <if test="arId !=null and arId != ''">
             and t.ar_id= #{arId}
         </if>
+        <if test="arIds != null">
+            and t.ar_id in
+            <foreach collection="arIds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="ownerName !=null and ownerName != ''">
             and t.owner_name= #{ownerName}
         </if>

--
Gitblit v1.8.0