This commit is contained in:
bianyadong
2024-05-10 15:00:13 +08:00
parent 03bda50bce
commit 01dde13901
11 changed files with 74 additions and 14 deletions

View File

@@ -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>