SELECT o.id as id, o.label as label, o.tree_dict as tree_dict, o.code as code, o.remark as remark, o.pid as pid, o.order_num as order_num, o.level_code as level_code, o.level_depth as level_depth, o.is_leaf as is_leaf, o.path as path, o.icon as icon FROM sys_tree_dict_data o LEFT JOIN sys_user u ON u.user_id = o.create_by LEFT JOIN sys_dept d ON u.dept_id = d.dept_id