From 8f2831005e936b03617c888181b56ade5bef5cda Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期四, 10 七月 2025 10:26:17 +0800
Subject: [PATCH] yys 修改采购出库bug
---
src/main/resources/mapper/system/SysUserMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/system/SysUserMapper.xml b/src/main/resources/mapper/system/SysUserMapper.xml
index 3afcaf0..cb0bdb3 100644
--- a/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/src/main/resources/mapper/system/SysUserMapper.xml
@@ -64,7 +64,7 @@
LEFT JOIN sys_dept T2 ON T1.dept_id = T2.dept_id
GROUP BY T1.user_id
) T2 on T2.user_id = u.user_id
- where u.del_flag = '0'
+ where u.del_flag = '0' and u.tenant_id = #{tenantId}
<if test="userId != null and userId != 0">
AND u.user_id = #{userId}
</if>
--
Gitblit v1.9.3