zoujiajian il y a 2 ans
Parent
commit
589957fd56
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      netflix-dao/src/main/resources/mapper/InformationMapper.xml

+ 2 - 2
netflix-dao/src/main/resources/mapper/InformationMapper.xml

@@ -5,7 +5,7 @@
 
 
     <select id="getInformation" resultType="com.cyksj.model.views.InformationListView">
-        select id,title,thumbnail,created_time,content,logo,is_black_font from information where status is true and deleted is true
+        select id,title,thumbnail,created_time,content,sub_title,logo,is_black_font from information where status is true and deleted is true
         <choose>
             <when test="categoryId != null">
                 and JSON_CONTAINS(category_ids,'"${categoryId}"') = 1
@@ -18,7 +18,7 @@
     </select>
 
     <select id="getInformationByTitle" resultType="com.cyksj.model.views.InformationListView">
-        select id,title,thumbnail,created_time,content,logo,is_black_font
+        select id,title,thumbnail,created_time,content,sub_title,logo,is_black_font
         from information
         where title like '%${title}%'
           and status is true