zero 1 неделя назад
Родитель
Сommit
8c869bb746
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/resources/mapper/ArticleInfoMapper.xml

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

@@ -78,6 +78,7 @@
         from article_info ai
         left join category ca on ca.id = ai.category_id
         <where>
+            ai.category_id in (1,2,3,4,5)
             <if test="vo.beginTime != null">
                 and ai.public_time &gt;= #{vo.beginTime}
             </if>