| | |
| | | parent_code as parentId, |
| | | name, |
| | | remark aoiCode |
| | | FROM blade_region where district_code = '361102000000' |
| | | FROM blade_region where district_code like concat('361102','%') |
| | | union all |
| | | ( |
| | | select |
| | |
| | | name, |
| | | aoi_code aoiCode |
| | | from jczz_district |
| | | where is_deleted = 0 |
| | | where is_deleted = 0 and community_code like concat('361102','%') |
| | | <if test="district.districtIdList!=null and district.districtIdList.size() > 0"> |
| | | and id in |
| | | <foreach collection="district.districtIdList" item="item" separator ="," open="(" close=")"> |
| | | <foreach collection="district.districtIdList" item="item" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |