@ -24,4 +24,9 @@ public class DataScopeDeptList implements Serializable {
* 部门名称
*/
private String deptName;
/**
* 部门类型
private String typeKey;
}
@ -15,7 +15,8 @@
<select id="getDataScopeDetailList" resultType="com.elink.esua.epdc.dto.DataScopeDeptList">
SELECT
t2.dept_id,
t3.`name` AS deptName
t3.`name` AS deptName,
t3.type_key as typeKey
FROM
sys_role_user t1,
sys_role_data_scope t2,
@ -24,4 +24,9 @@ public class DeptDataScopeDTO implements Serializable {