lin
2024-03-04 7ffe7b1791adfc27f4411c7ad0bea229f6799445
src/main/java/org/springblade/modules/article/mapper/ArticleMapper.xml
@@ -41,8 +41,7 @@
    <sql id="selectArticle">
        select
            id,
        select id,
            title,
            type,
            content,
@@ -63,8 +62,7 @@
            article_range,
            building,
            unit
        from
            jczz_article
        from jczz_article
    </sql>
@@ -198,7 +196,6 @@
        LEFT JOIN blade_region br on br.`code` = jd.community_code
        where 1=1
        and ja.is_deleted = 0
        <if test="article.propertyFlag!=null ">
            <if test="article.communityName!=null and article.communityName!=''">
                and br.`village_name` like concat('%',#{article.communityName},'%')
            </if>
@@ -206,8 +203,6 @@
            <if test="article.streetName!=null and article.streetName!=''">
                and br.town_name like concat('%',#{article.streetName},'%')
            </if>
        </if>
        <if test="article.title!=null and article.title!=''">
            and ja.title like concat('%',#{article.title},'%')
@@ -444,7 +439,8 @@
    </select>
    <update id="upcomment">
        update jczz_article set iscomment = #{type}
        update jczz_article
        set iscomment = #{type}
        where id in(${ids})
    </update>