src/main/java/org/springblade/modules/article/mapper/ArticleMapper.xml
@@ -18,8 +18,11 @@ <if test="article.endTime!=null and article.endTime!=''"> and create_time<=#{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)