From 00425fbb6762c0708d6a3069ffd68ec1732dc178 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 29 九月 2022 09:30:52 +0800
Subject: [PATCH] 房屋加入单元权限控制
---
java110-db/src/main/resources/mapper/community/DataPrivilegeUnitV1ServiceDaoImplMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/DataPrivilegeUnitV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/DataPrivilegeUnitV1ServiceDaoImplMapper.xml
index ede3ccf..8c443bd 100644
--- a/java110-db/src/main/resources/mapper/community/DataPrivilegeUnitV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/DataPrivilegeUnitV1ServiceDaoImplMapper.xml
@@ -31,6 +31,12 @@
<if test="dpId !=null and dpId != ''">
and t.dp_id= #{dpId}
</if>
+ <if test="dpIds !=null">
+ and t.dp_id in
+ <foreach collection="dpIds" item="item" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="unitNum !=null and unitNum != ''">
and t.unit_num= #{unitNum}
</if>
--
Gitblit v1.8.0