disableFlag为1的账号在角色配置的查看人员中不出现
This commit is contained in:
@@ -155,7 +155,7 @@
|
|||||||
LEFT JOIN ts_user_position on ts_user.USID = ts_user_position.user_id
|
LEFT JOIN ts_user_position on ts_user.USID = ts_user_position.user_id
|
||||||
WHERE ts_user_position.position_id in (
|
WHERE ts_user_position.position_id in (
|
||||||
SELECT ts_position_role.position_id from ts_position_role
|
SELECT ts_position_role.position_id from ts_position_role
|
||||||
WHERE ts_position_role.role_id = #{role.roleId} )
|
WHERE ts_position_role.role_id = #{role.roleId} ) and ts_user.DISABLE_FLAG = '0'
|
||||||
<if test="null != role.userId and role.userId != ''">
|
<if test="null != role.userId and role.userId != ''">
|
||||||
and ts_user.USID like concat(concat('%',#{role.userId}),'%')
|
and ts_user.USID like concat(concat('%',#{role.userId}),'%')
|
||||||
</if>
|
</if>
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
LEFT JOIN ts_user_position on ts_user.USID = ts_user_position.user_id
|
LEFT JOIN ts_user_position on ts_user.USID = ts_user_position.user_id
|
||||||
WHERE ts_user_position.position_id in (
|
WHERE ts_user_position.position_id in (
|
||||||
SELECT ts_position_role.position_id from ts_position_role
|
SELECT ts_position_role.position_id from ts_position_role
|
||||||
WHERE ts_position_role.role_id = #{role.roleId} )
|
WHERE ts_position_role.role_id = #{role.roleId} ) and ts_user.DISABLE_FLAG = '0'
|
||||||
<if test="null != role.userId and role.userId != ''">
|
<if test="null != role.userId and role.userId != ''">
|
||||||
and ts_user.USID like concat(concat('%',#{role.userId}),'%')
|
and ts_user.USID like concat(concat('%',#{role.userId}),'%')
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user