liusheng
2025-09-29 55f5271f893a25a7be671b24938e49976936a67b
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
@@ -195,7 +195,7 @@
               d.orgid,
               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