过滤非叶子节点

This commit is contained in:
zhangchenbiao
2023-07-20 16:16:47 +08:00
parent 1bf5889662
commit 2c77668631
5 changed files with 38 additions and 3 deletions

View File

@@ -285,4 +285,13 @@
select <include refid="Base_Column_List"/> from hy_open_area_info
</select>
<select id="filterLeafNode" resultType="long">
select
id
from
hy_open_area_info
where
deleted = '0' and province_city_flag = '0' and id in <foreach collection="openAreaIds" item="openAreaId" separator="," open="(" close=")">#{openAreaId}</foreach>
</select>
</mapper>