linwei
2024-02-22 4ffbdb32186834f49f7a47b242381be4e7d894ed
src/main/java/org/springblade/modules/article/mapper/ArticleMapper.xml
@@ -199,7 +199,6 @@
        where 1=1
        and ja.is_deleted = 0
        <if test="article.propertyFlag!=null ">
            and ja.district_id IS NOT NULL
            <if test="article.communityName!=null and article.communityName!=''">
                and br.`village_name` like concat('%',#{article.communityName},'%')
            </if>
@@ -239,10 +238,10 @@
            <foreach collection="article.districtIdList" separator=" or article_range like" item="id">'%${id}%'
            </foreach>
            )
            and ja.district_id in
            <foreach collection="article.districtIdList" index="index" item="item" open="(" separator="," close=")">
                #{item}
            </foreach>
<!--            and ja.district_id in-->
<!--            <foreach collection="article.districtIdList" index="index" item="item" open="(" separator="," close=")">-->
<!--                #{item}-->
<!--            </foreach>-->
        </if>
        order by ja.create_time desc
    </select>