zero 1 hafta önce
ebeveyn
işleme
d994e91429

+ 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}