Skip to content

Commit

Permalink
fix: 修复查询用户权限存在空值的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Apr 15, 2024
1 parent 6beceaa commit fce4a56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
LEFT JOIN sys_user_role AS t4 ON t4.role_id = t3.id
LEFT JOIN sys_user AS t5 ON t5.id = t4.user_id
WHERE t5.id = #{userId}
AND t1.type IN (2, 3)
AND t1.status = 1
AND t1.permission IS NOT NULL
AND t3.status = 1
</select>

Expand Down

0 comments on commit fce4a56

Please sign in to comment.