zoujiajian пре 2 година
родитељ
комит
589957fd56
1 измењених фајлова са 2 додато и 2 уклоњено
  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="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>
         <choose>
             <when test="categoryId != null">
             <when test="categoryId != null">
                 and JSON_CONTAINS(category_ids,'"${categoryId}"') = 1
                 and JSON_CONTAINS(category_ids,'"${categoryId}"') = 1
@@ -18,7 +18,7 @@
     </select>
     </select>
 
 
     <select id="getInformationByTitle" resultType="com.cyksj.model.views.InformationListView">
     <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
         from information
         where title like '%${title}%'
         where title like '%${title}%'
           and status is true
           and status is true