修复数据权限错误问题
This commit is contained in:
parent
060f3987a2
commit
4c6123a0af
|
@ -5,7 +5,7 @@
|
|||
|
||||
<select id="getDataScopeByUserId" resultType="integer">
|
||||
select min(t1.data_scope) from sys_role t1, sys_user_role t2
|
||||
where t1.id = t2.role_id and t2.user_id = #{userId} and t1.deleted = 0
|
||||
where t1.id = t2.role_id and t2.user_id = #{userId} and t1.deleted = 0 and t2.deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue
Block a user