fix
This commit is contained in:
@@ -86,6 +86,8 @@ public interface RegionMapper {
|
||||
|
||||
List<String> getSubRegionIdsByRegionIds( @Param("regionIds")List<String> regionIds);
|
||||
|
||||
List<Long> getSubRegionIdsByRegionIdList( @Param("regionIds")List<Long> regionIds);
|
||||
|
||||
List<String> getStoreIdsByRegionIds( @Param("regionIds")List<String> regionIds);
|
||||
|
||||
List<String> getSubIdsByRegionpaths( @Param("regionPaths")List<String> regionPaths);
|
||||
|
||||
@@ -405,6 +405,16 @@
|
||||
where deleted = 0
|
||||
and syn_ding_dept_id = #{synDingDeptId}
|
||||
</select>
|
||||
<select id="getSubRegionIdsByRegionIdList" resultType="java.lang.Long">
|
||||
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>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user