|
|
@@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.cyksj.model.views.DistributeSearchView;
|
|
|
import com.cyksj.model.views.GoodsDiscountPlusPurchaseRelationFrontView;
|
|
|
-import com.ejlchina.searcher.bean.DbField;
|
|
|
import com.ejlchina.searcher.bean.DbIgnore;
|
|
|
import com.ejlchina.searcher.bean.SearchBean;
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
@@ -143,9 +142,9 @@ public class GoodsDonSku extends BaseEntity {
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private Integer days;
|
|
|
|
|
|
- @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")
|
|
|
- @TableField(exist = false)
|
|
|
- private Integer orderBy;
|
|
|
+// @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")
|
|
|
+// @TableField(exist = false)
|
|
|
+// private Integer orderBy;
|
|
|
|
|
|
/**
|
|
|
* 加购规格
|
|
|
@@ -195,4 +194,10 @@ public class GoodsDonSku extends BaseEntity {
|
|
|
@DbIgnore
|
|
|
@TableField(exist = false)
|
|
|
private BigDecimal yhShopSkuPrice;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ */
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
+ private Integer sorted;
|
|
|
}
|