|
@@ -20,11 +20,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="parentId" column="parent_id" />
|
|
|
+ <result property="isSystem" column="is_system" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectRoleVo">
|
|
|
select distinct r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.menu_check_strictly, r.dept_check_strictly,
|
|
|
- r.status, r.del_flag, r.create_time, r.remark, r.tenant_id,r.authority_lv,r.parent_id
|
|
|
+ r.status, r.del_flag, r.create_time, r.remark, r.tenant_id,r.authority_lv,r.parent_id,r.is_system
|
|
|
from sys_role r
|
|
|
left join sys_user_role ur on ur.role_id = r.role_id
|
|
|
left join sys_user u on u.user_id = ur.user_id
|