zero 1 vecka sedan
förälder
incheckning
d994e91429
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/resources/mapper/ArticleInfoMapper.xml

+ 1 - 1
src/main/resources/mapper/ArticleInfoMapper.xml

@@ -55,7 +55,7 @@
                 and ai.category_id = #{vo.categoryId}
             </if>
             <if test="vo.sourceName != null and vo.sourceName != ''">
-                and si.source_name = #{vo.sourceName}
+                and si.source_name like concat('%',#{vo.sourceName},'%')
             </if>
             <if test="vo.beginTime != null">
                 and ai.public_time &gt;= #{vo.beginTime}