分页
This commit is contained in:
@@ -152,6 +152,15 @@
|
||||
</foreach>
|
||||
|
||||
</select>
|
||||
<select id="getUserIdListByRegionId" resultType="java.lang.String">
|
||||
select user_id as userId
|
||||
from enterprise_user_${enterpriseId}
|
||||
where user_id in
|
||||
<foreach item="userId" index="index" collection="userIdList" open="(" separator="," close=")">
|
||||
#{userId}
|
||||
</foreach>
|
||||
and user_region_ids like concat('%', #{regionId}, '%')
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user