From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index d449d6e..5053727
--- a/java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml
@@ -88,6 +88,12 @@
<if test="paId !=null and paId != ''">
and t.pa_id= #{paId}
</if>
+ <if test="paIds !=null ">
+ and t.pa_id in
+ <foreach collection="paIds" item="item" index="index" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="remark !=null and remark != ''">
and t.remark= #{remark}
</if>
@@ -150,6 +156,12 @@
<if test="paId !=null and paId != ''">
and t.pa_id= #{paId}
</if>
+ <if test="paIds !=null ">
+ and t.pa_id in
+ <foreach collection="paIds" item="item" index="index" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="remark !=null and remark != ''">
and t.remark= #{remark}
</if>
--
Gitblit v1.8.0