zero 1 Minggu lalu
induk
melakukan
d994e91429
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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}