| | |
| | | <if test="district.townStreetName !=null and district.townStreetName !=''"> |
| | | and br.town_name like concat('%',#{district.townStreetName},'%') |
| | | </if> |
| | | <if test="district.regionCode !=null and district.regionCode !=''"> |
| | | and jd.community_code like concat('%',#{district.regionCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <!--小区树查询--> |
| | |
| | | SELECT |
| | | code as id, |
| | | parent_code as parentId, |
| | | name |
| | | name, |
| | | remark aoiCode |
| | | FROM blade_region where district_code = '361102' |
| | | union all |
| | | ( |
| | | select |
| | | id, |
| | | community_code as parentId, |
| | | name |
| | | name, |
| | | aoi_code aoiCode |
| | | from jczz_district |
| | | where is_deleted = 0 |
| | | <if test="district.districtIdList!=null and district.districtIdList!=''"> |