src/main/resources/mapper/system/SysDeptMapper.xml
@@ -47,7 +47,7 @@ AND d.status = #{status} </if> <!-- 数据范围过滤 --> ${params.dataScope} -- ${params.dataScope} group by d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time order by d.parent_id, d.order_num </select>