zoujiajian 3 tahun lalu
induk
melakukan
6aaf4baf77

+ 26 - 5
netflix-dao/src/main/java/com/cyksj/model/views/GoodsDonSkuFrontView.java

@@ -1,7 +1,7 @@
 package com.cyksj.model.views;
 
+import com.ejlchina.searcher.bean.DbField;
 import com.ejlchina.searcher.bean.SearchBean;
-import com.fasterxml.jackson.annotation.JsonIgnore;
 import lombok.Getter;
 import lombok.Setter;
 
@@ -22,6 +22,9 @@ public class GoodsDonSkuFrontView {
 
 	private Long goodsId;
 
+
+	private String subTitle;
+
 	/**
 	 * 商品规格 ids
 	 */
@@ -37,15 +40,32 @@ public class GoodsDonSkuFrontView {
 	 */
 	private String specJson;
 
+	/**
+	 * 规格说明信息
+	 */
+	private String notifyText;
+
+	/**
+	 * 商品预览图
+	 */
+	private String picture;
 
 	/**
-	 * true 上架 / false 下架
+	 * 商品详情图
 	 */
-	@JsonIgnore
-	private Boolean status;
+	private String detail;
 
+	/**
+	 * 标签
+	 */
 	private String tags;
 
+
+	/**
+	 * true 上架 / false 下架
+	 */
+	private Boolean status;
+
 	/**
 	 * 价格
 	 */
@@ -61,5 +81,6 @@ public class GoodsDonSkuFrontView {
 	 */
 	private Integer days;
 
-	private String notifyText;
+	@DbField("case when spec_val like '%月%' and spec_val not like '%年%' then 0 when spec_val like '%季%' then 1 when spec_val like '%半年%' then 2 when spec_val like '%年%' then 3 else 66 end")
+	private Integer orderBy;
 }