Selaa lähdekoodia

fix 新版官网样式配合

zoujiajian 10 kuukautta sitten
vanhempi
sitoutus
c348431981

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/entity/GoodsDon.java

@@ -94,6 +94,12 @@ public class GoodsDon extends BaseEntity {
     @TableField(exist = false)
     @TableField(exist = false)
     private List<Long> categoryList;
     private List<Long> categoryList;
 
 
+    /**
+     * 突出展示
+     */
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    private String highlightPoints;
+
     /**
     /**
      * 二级分类
      * 二级分类
      * 虚物品 1邀请制 2非邀请制
      * 虚物品 1邀请制 2非邀请制

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/entity/Information.java

@@ -26,6 +26,12 @@ public class Information extends BaseEntity{
     @TableField(updateStrategy = FieldStrategy.IGNORED)
     @TableField(updateStrategy = FieldStrategy.IGNORED)
     private String logo;
     private String logo;
 
 
+    /**
+     * 文章动图
+     */
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    private String gif;
+
     /**
     /**
      * 是否是黑色文字 默认false
      * 是否是黑色文字 默认false
      */
      */

+ 5 - 0
netflix-dao/src/main/java/com/cyksj/model/manage/request/ReqGoodsSpuInsert.java

@@ -77,6 +77,11 @@ public class ReqGoodsSpuInsert {
      */
      */
     private Long category;
     private Long category;
 
 
+    /**
+     * 突出展示
+     */
+    private String highlightPoints;
+
     /**
     /**
      * 多分类
      * 多分类
      */
      */

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/manage/views/GoodsDonViewer.java

@@ -127,6 +127,12 @@ public class GoodsDonViewer {
     @DbIgnore
     @DbIgnore
     private List<Long> categoryList;
     private List<Long> categoryList;
 
 
+    /**
+     * 突出展示
+     */
+    @DbField("g.highlight_points")
+    private String highlightPoints;
+
     /**
     /**
      * banner
      * banner
      */
      */

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/views/GoodsFrontListCategoryView.java

@@ -59,6 +59,12 @@ public class GoodsFrontListCategoryView {
 	@DbField("gcr.category")
 	@DbField("gcr.category")
 	private Long category;
 	private Long category;
 
 
+	/**
+	 * 突出展示
+	 */
+	@DbField("g.highlight_points")
+	private String highlightPoints;
+
 	/**
 	/**
 	 * 类型
 	 * 类型
 	 */
 	 */

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/views/HomeManagementFrontView.java

@@ -117,6 +117,12 @@ public class HomeManagementFrontView {
 	@DbField("g.match_img")
 	@DbField("g.match_img")
 	private String matchImg;
 	private String matchImg;
 
 
+	/**
+	 * 突出展示
+	 */
+	@DbField("g.highlight_points")
+	private String highlightPoints;
+
 
 
 	/**
 	/**
 	 * 渠道优惠折扣
 	 * 渠道优惠折扣

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/views/InformationDetailView.java

@@ -38,6 +38,12 @@ public class InformationDetailView {
     @DbField("i.logo")
     @DbField("i.logo")
     private String logo;
     private String logo;
 
 
+    /**
+     * 文章动图
+     */
+    @DbField("i.gif")
+    private String gif;
+
     @DbField("i.is_black_font")
     @DbField("i.is_black_font")
     private Boolean isBlackFont;
     private Boolean isBlackFont;
 
 

+ 5 - 0
netflix-dao/src/main/java/com/cyksj/model/views/InformationListView.java

@@ -28,6 +28,11 @@ public class InformationListView {
 
 
     private String logo;
     private String logo;
 
 
+    /**
+     * 文章动图
+     */
+    private String gif;
+
     private Boolean isBlackFont;
     private Boolean isBlackFont;
 
 
     /**
     /**

+ 6 - 0
netflix-dao/src/main/java/com/cyksj/model/views/InformationView.java

@@ -39,6 +39,12 @@ public class InformationView {
     @DbField("i.logo")
     @DbField("i.logo")
     private String logo;
     private String logo;
 
 
+    /**
+     * 文章动图
+     */
+    @DbField("i.gif")
+    private String gif;
+
     @DbField("i.is_black_font")
     @DbField("i.is_black_font")
     private Boolean isBlackFont;
     private Boolean isBlackFont;
 
 

+ 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,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>
         <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,sub_title,logo,is_black_font
+        select id,title,thumbnail,created_time,content,sub_title,logo,is_black_font,gif
         from information
         from information
         where title like '%${title}%'
         where title like '%${title}%'
           and status is true
           and status is true