fetch:权限
This commit is contained in:
@@ -36,4 +36,14 @@
|
||||
on up.position_id=p.id
|
||||
where u.institution_id=#{institutionId}
|
||||
</select>
|
||||
|
||||
<select id="getUserIdsByPositionIds" resultType="String">
|
||||
select user_id from ts_user_position
|
||||
where position_id in
|
||||
(
|
||||
<foreach collection="list" item="positionId" separator=",">
|
||||
#{positionId}
|
||||
</foreach>
|
||||
)
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user