Browse Source

data-service

孙永军 2 years ago
parent
commit
d47d702609
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/com/sxtvs/YoumeiDataMapper.xml

+ 1 - 1
src/main/resources/com/sxtvs/YoumeiDataMapper.xml

@@ -4,7 +4,7 @@
     <select id="getCategoryList" resultType="com.sxtvs.open.api.news.entity.CategoryData">
         SELECT d.*, c.category FROM youmei_data d
         LEFT JOIN youmei_data_category c ON d.`offset` = c.`offset`
-        WHERE d.offset >= #{offset}
+        WHERE d.offset >= #{offset} and d.content != ""
         LIMIT #{limit}
     </select>
 </mapper>