zero hai 1 semana
pai
achega
d994e91429
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}