洪城义警-正式版后台
zengh
2022-09-15 b7b0da18a6cd9775b5c5e2af4da91f15d6d3871e
src/main/java/org/springblade/modules/article/mapper/ArticleMapper.xml
@@ -18,15 +18,18 @@
        <if test="article.endTime!=null and article.endTime!=''">
            and create_time&lt;=#{article.endTime}
        </if>
        <if test="article.publish!=null and article.publish!=''">
            and publish = #{article.publish}
        </if>
        <if test="article.articleType!=null and article.articleType!=''">
            and article_type = #{article.articleType}
            and article_type like concat('%',#{article.articleType},'%')
        </if>
        <if test="article.keyword!=null and article.keyword!=''">
            AND CONCAT(title,source_name)
            LIKE CONCAT ('%', #{article.keyword},'%')
        </if>
        and iswords = "0"
        order by create_time desc
        order by id desc
    </select>
    <!--查询资讯敏感词预警-->
@@ -71,7 +74,7 @@
            AND publish = 1
        </if>
        and iswords = "0"
        order by create_time desc
        order by id desc
    </select>
    <!--查询收藏资讯分页列表信息-->