src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
@@ -31,5 +31,23 @@ </if> </select> <!--自定义分页--> <select id="getDistrictTree" resultType="org.springblade.common.node.TreeStringNode"> SELECT code as id, parent_code as parentId, name FROM blade_region where district_code = '361102' union all ( select id, community_code as parentId, name from jczz_district where is_deleted = 0 ) </select> </mapper>