From 56e6e579618a13221e56cd49e72c9ac0904da95c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 06 十一月 2025 14:01:56 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml b/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
index e47860c..c402e2a 100644
--- a/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
@@ -176,7 +176,7 @@
d.leader,
d.status as dept_status
from sys_dept d
- left join sys_user_dept ud on d.dept_id = ud.dept_id
+ left join sys_user_dept ud on d.dept_code = ud.dept_code
where ud.user_id = #{userId}
and ud.del_flag = 0
and d.del_flag = 0
--
Gitblit v1.9.3