|
|
|
@ -80,8 +80,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
r.status as role_status
|
|
|
|
|
from sys_user u
|
|
|
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
|
|
|
left join sys_user_role ur on u.user_id = ur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = ur.role_id
|
|
|
|
|
left join sys_user_role sur on u.user_id = sur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = sur.role_id
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectPageUserList" parameterType="SysUser" resultMap="SysUserResult">
|
|
|
|
@ -102,8 +102,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
|
|
|
|
|
from sys_user u
|
|
|
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
|
|
|
left join sys_user_role ur on u.user_id = ur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = ur.role_id
|
|
|
|
|
left join sys_user_role sur on u.user_id = sur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = sur.role_id
|
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@ -111,8 +111,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
|
|
|
|
|
from sys_user u
|
|
|
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
|
|
|
left join sys_user_role ur on u.user_id = ur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = ur.role_id
|
|
|
|
|
left join sys_user_role sur on u.user_id = sur.user_id
|
|
|
|
|
left join sys_role r on r.role_id = sur.role_id
|
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|