|
|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
<select id="getInformation" resultType="com.cyksj.model.views.InformationListView">
|
|
|
- select id,title,thumbnail,created_time,content,sub_title,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,gif 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,sub_title,logo,is_black_font
|
|
|
+ select id,title,thumbnail,created_time,content,sub_title,logo,is_black_font,gif
|
|
|
from information
|
|
|
where title like '%${title}%'
|
|
|
and status is true
|