From e40889177c25035496c526dbc12a9665d5b61ceb Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 20 三月 2025 12:00:53 +0800
Subject: [PATCH] 优化小区房屋和小区业主 支持按小区查询数据
---
java110-db/src/main/resources/mapper/user/PrivilegeUserV1ServiceDaoImplMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/PrivilegeUserV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/PrivilegeUserV1ServiceDaoImplMapper.xml
index bf56660..7672025 100644
--- a/java110-db/src/main/resources/mapper/user/PrivilegeUserV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/PrivilegeUserV1ServiceDaoImplMapper.xml
@@ -180,6 +180,9 @@
<if test="userName !=null and userName != ''">
and t.name like concat('%', #{userName},'%')
</if>
+ <if test="levelCd !=null and levelCd != ''">
+ and t.level_cd = #{levelCd}
+ </if>
and su.store_id = #{storeId}
<if test="orgIds != null and orgIds.length > 0">
and uosr.org_id in
@@ -211,6 +214,9 @@
<if test="userName !=null and userName != ''">
and t.name like concat('%', #{userName},'%')
</if>
+ <if test="levelCd !=null and levelCd != ''">
+ and t.level_cd = #{levelCd}
+ </if>
and su.store_id = #{storeId}
<if test="orgIds != null and orgIds.length > 0">
and uosr.org_id in
--
Gitblit v1.8.0