管辖范围考核人员
This commit is contained in:
@@ -285,6 +285,17 @@
|
||||
<foreach collection="regionIds" separator=" or " open="(" close=")" item="region" > region_path like concat("%", #{region}, "%")</foreach>
|
||||
</select>
|
||||
|
||||
<select id="getStoreIdsByRegionIds" resultType="string">
|
||||
select
|
||||
store_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
|
||||
|
||||
Reference in New Issue
Block a user