From ca3c02c1cea52a91c4042ebbea9631c23d6af842 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 20 八月 2019 15:38:11 +0800
Subject: [PATCH] 自动选品,爬单bug修改
---
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 46 insertions(+), 7 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java b/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java
index 4a2df1d..da989e8 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java
@@ -20,18 +20,22 @@
@Table("yeshi_ec_common_order")
public class CommonOrder {
- // 璁㈠崟鐘舵�� 1-浠樻锛屾垚鍔� 2-缁撶畻锛堝凡鏀惰揣锛� 3-缁存潈 4-澶辨晥
+ // 璁㈠崟鐘舵�� 1-浠樻锛屾垚鍔� 2-缁撶畻锛堝凡鏀惰揣锛� 3-缁存潈 4-澶辨晥
public final static int STATE_FK = 1;
public final static int STATE_JS = 2;
public final static int STATE_WQ = 3;
public final static int STATE_SX = 4;
-
+
+ // 鏁翠釜璁㈠崟鐘舵�� 1-鏈夋晥 2-閮ㄥ垎鏈夋晥/澶辨晥 3-澶辨晥
+ public final static int STATE_WHOLE_ORDER_YOUXIAO = 1;
+ public final static int STATE_WHOLE_ORDER_BUFENYOUXIAO = 2;
+ public final static int STATE_WHOLE_ORDER_SHIXIAO = 3;
+
// 璁㈠崟绾㈠寘绫诲瀷鍥剧墖
public final static String TYPE_FANLI = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_fanli.png";
public final static String TYPE_INVITE = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_invite.png";
public final static String TYPE_SHARE = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_share.png";
-
-
+
@Column(name = "co_id")
private Long id;
@@ -67,6 +71,11 @@
@Column(name = "co_state")
private Integer state;
+ // 鏁翠釜璁㈠崟鐘舵�侊細鏈夋晥 銆� 閮ㄥ垎鏈夋晥/澶辨晥 銆� 澶辨晥
+ @Expose
+ @Column(name = "co_state_whole_order")
+ private Integer stateWholeOrder;
+
// 鏁堟灉棰勪及
@Column(name = "co_estimate")
private BigDecimal estimate;
@@ -86,10 +95,16 @@
// 涓嬪崟鏃堕棿-绗笁鏂瑰垱寤烘椂闂�
@Column(name = "co_third_create_time")
private Date thirdCreateTime;
-
+
// 鏀惰揣鏃堕棿-缁撶畻鏃堕棿
@Column(name = "co_settle_time")
private Date settleTime;
+
+ @Column(name = "co_order_by")
+ private Integer orderBy;// 瀛愯鍗曠殑鎺掑簭鍊�
+
+ @Column(name = "co_trade_id")
+ private String tradeId;
// 鍒涘缓鏃堕棿
@Column(name = "co_create_time")
@@ -98,11 +113,11 @@
// 鏇存柊鏃堕棿
@Column(name = "co_update_time")
private Date updateTime;
-
+
public CommonOrder() {
}
-
+
public CommonOrder(Long id) {
this.id = id;
}
@@ -219,6 +234,14 @@
this.settleTime = settleTime;
}
+ public Integer getOrderBy() {
+ return orderBy;
+ }
+
+ public void setOrderBy(Integer orderBy) {
+ this.orderBy = orderBy;
+ }
+
public Date getCreateTime() {
return createTime;
}
@@ -235,4 +258,20 @@
this.updateTime = updateTime;
}
+ public Integer getStateWholeOrder() {
+ return stateWholeOrder;
+ }
+
+ public void setStateWholeOrder(Integer stateWholeOrder) {
+ this.stateWholeOrder = stateWholeOrder;
+ }
+
+ public String getTradeId() {
+ return tradeId;
+ }
+
+ public void setTradeId(String tradeId) {
+ this.tradeId = tradeId;
+ }
+
}
--
Gitblit v1.8.0