add interface

This commit is contained in:
zhangchenbiao
2023-06-19 19:54:46 +08:00
parent 59b7102a65
commit 3c8b298706
32 changed files with 291 additions and 662 deletions

View File

@@ -204,4 +204,8 @@
<update id="deleteRegionByRegionId">
update region set deleted = 1 where region_id = #{regionId}
</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 (#{regionPath, '%'})</foreach>
</select>
</mapper>