新增接口

This commit is contained in:
zhangchenbiao
2024-04-17 16:40:32 +08:00
parent fb924859a2
commit 9f4eb4e4d0
15 changed files with 225 additions and 4 deletions

View File

@@ -274,6 +274,17 @@
<foreach collection="regionPaths" separator=" or " open="(" close=")" item="region" > region_path like concat(#{region}, "%")</foreach>
</select>
<select id="getSubRegionIdsByRegionIds" resultType="string">
select
id
from
region_${enterpriseId}
where
deleted = 0
and
<foreach collection="regionIds" separator=" or " open="(" close=")" item="region" > region_path like concat("%", #{region}, "%")</foreach>
</select>
<select id="getSubIdsByRegionpaths" resultType="string">
select
id