From 0b3ff378a9faaf9d7a4831b7f0de67378fe0dfea Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 30 五月 2023 12:20:15 +0800
Subject: [PATCH] optimize 统计

---
 java110-db/src/main/resources/mapper/user/DataPrivilegeStaffV1ServiceDaoImplMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/user/DataPrivilegeStaffV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/DataPrivilegeStaffV1ServiceDaoImplMapper.xml
index ac4ebdb..d86b1f0 100644
--- a/java110-db/src/main/resources/mapper/user/DataPrivilegeStaffV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/DataPrivilegeStaffV1ServiceDaoImplMapper.xml
@@ -138,8 +138,8 @@
         left join data_privilege_staff pu on t.user_id = pu.staff_id and pu.status_cd = '0' and pu.dp_id = #{dpId}
         where t.status_cd = '0'
         and pu.dp_id is null
-        <if test="userName !=null and userName != ''">
-            and t.name like concat('%', #{userName},'%')
+        <if test="staffName !=null and staffName != ''">
+            and t.name like concat('%', #{staffName},'%')
         </if>
         and su.store_id = #{storeId}
         order by t.create_time desc

--
Gitblit v1.8.0