@@ -31,7 +31,7 @@
d.email, d.status, d.del_flag, d.create_by, d.create_time, d.remark, t.user_count,
d.dept_type, dict.dict_label as dept_type_text
from sys_dept d
- left join sys_dict_data dict on d.dept_type = dict.dict_value and dict.dict_type = 'dictType'
+ left join sys_dict_data dict on d.dept_type = dict.dict_value and dict.dict_type = 'deptType'
left join (select dept_id, count(*) as user_count from sys_user where del_flag = '0' group by dept_id) t on t.dept_id = d.dept_id
</sql>