This commit is contained in:
zhangchenbiao
2023-06-26 14:23:21 +08:00
parent 081e1709f6
commit e380b13ec5

View File

@@ -206,6 +206,6 @@
</update>
<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 region_id from region where deleted = 0 and <foreach collection="regionPathList" item="regionPath" open="(" close=")" separator="or"> region_path like concat(#{regionPath}, '%')</foreach>
</select>
</mapper>