From 3c22b9da8184048532f3f2f96b0f6b1dac4e731b Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Tue, 29 Jul 2025 16:02:02 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=B8=B4=E6=97=B6=E5=A4=96=E5=87=BA?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=9B=A0=E5=85=AC=E5=A4=96=E5=87=BA;=E8=80=83=E5=8B=A4?= =?UTF-8?q?=E8=A7=84=E5=88=99=E5=8F=98=E6=9B=B4=E5=8A=9F=E8=83=BD=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lSun <15893999301@qq.com> --- .../resources/mapper/LeaveReporting/LeaveReportingMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-system/src/main/resources/mapper/LeaveReporting/LeaveReportingMapper.xml b/bonus-modules/bonus-system/src/main/resources/mapper/LeaveReporting/LeaveReportingMapper.xml index 68d9710..fd545fa 100644 --- a/bonus-modules/bonus-system/src/main/resources/mapper/LeaveReporting/LeaveReportingMapper.xml +++ b/bonus-modules/bonus-system/src/main/resources/mapper/LeaveReporting/LeaveReportingMapper.xml @@ -182,7 +182,7 @@ SELECT su.user_id as userId , su.user_name as userName FROM sys_user su LEFT JOIN sys_user_org suo ON su.user_id = suo.user_id And suo.is_active= '1' - WHERE 1=1 and su.user_id !=#{params.id} + WHERE su.is_active = '1' and su.user_id !=#{params.id} and suo.org_id in (