更新SQL

This commit is contained in:
阿沐 2022-10-13 21:11:05 +08:00
parent c8ff39afa0
commit ffa7257d77

View File

@ -9,7 +9,7 @@
<select id="getDataScopeList" resultType="long">
select t2.org_id from sys_user_role t1, sys_role_data_scope t2
where t1.user_id = #{userId} and t1.role_id = t2.role_id and t1.deleted = 0
where t1.user_id = #{userId} and t1.role_id = t2.role_id and t1.deleted = 0 and t2.deleted = 0
</select>
</mapper>