lin
2024-04-13 ea806c12de1e9760fc71d53e3a456b6137822845
src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
@@ -61,7 +61,7 @@
        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
@@ -70,10 +70,10 @@
        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>