稽核区域配置
This commit is contained in:
@@ -208,4 +208,13 @@
|
||||
<select id="getSubRegionIds" resultType="string">
|
||||
select region_id from region where deleted = 0 and <foreach collection="regionPathList" item="regionPath" open="(" close=")" separator="or"> region_path like concat(#{regionPath}, '%')</foreach>
|
||||
</select>
|
||||
|
||||
<select id="getSubRegion" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
region
|
||||
where
|
||||
deleted = 0 and parent_id = #{regionId}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user