[2025.06.01] sql 작업
This commit is contained in:
@@ -65,10 +65,14 @@
|
||||
JOIN role r ON fur.role_id = r.id AND r.is_deleted = FALSE
|
||||
LEFT JOIN role_has_privilege rhp ON r.id = rhp.role_id AND rhp.is_deleted = FALSE
|
||||
LEFT JOIN privilege p ON rhp.privilege_id = p.id AND p.is_deleted = FALSE
|
||||
WHERE fur.front_user_id IN
|
||||
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
<where>
|
||||
<if test="ids != null and ids.size() > 0">
|
||||
fur.front_user_id IN
|
||||
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user