From 85a54f184e8b0ac52a475f8e32a7df601da0ec54 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 19 一月 2026 09:53:16 +0800
Subject: [PATCH] 【市一】/smartor/serviceSubtask/queryTaskByCondition 查询优化
---
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 3b5a68e..64c69a4 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -182,6 +182,9 @@
u.phonenumber, u.sex, u.status,
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark from sys_user u
where u.del_flag = '0'
+ <if test="orgid != null">
+ AND u.orgid = #{orgid}
+ </if>
<if test="userId != null">
AND u.user_id = #{userId}
</if>
--
Gitblit v1.9.3