zhongrj
2023-12-22 ddef54b90b578d14e2cdad5d21a0fc2f612be46a
src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
@@ -30,9 +30,15 @@
        <if test="district.name !=null and district.name !=''">
            and jd.name like concat('%',#{district.name},'%')
        </if>
        <if test="district.communityName !=null and district.communityName !=''">
            and br.village_name like concat('%', #{district.communityName},'%')
        </if>
        <if test="district.communityCode !=null and district.communityCode !=''">
            and jd.community_code = #{district.communityCode}
        </if>
        <if test="district.townStreetName !=null and district.townStreetName !=''">
            and br.town_name like concat('%',#{district.townStreetName},'%')
        </if>
    </select>
    <!--小区树查询-->