From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/user/Order.java |  412 ++++++++++++++++++++++++++++------------------------------
 1 files changed, 196 insertions(+), 216 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/Order.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/Order.java
index 4dfed5c..17c784a 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/Order.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/Order.java
@@ -1,216 +1,196 @@
-package com.yeshi.fanli.entity.bus.user;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.FetchType;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.ManyToOne;
-import javax.persistence.Table;
-import javax.persistence.UniqueConstraint;
-
-import com.google.gson.annotations.Expose;
-
-/**
- * 璁㈠崟
- * 
- * @author Administrator
- *
- */
-@Entity
-@Table(name = "yeshi_ec_order", uniqueConstraints = @UniqueConstraint(columnNames = { "orderid", "order_type" }) )
-@org.yeshi.utils.mybatis.Table("yeshi_ec_order")
-public class Order {
-	// 璁㈠崟鐘剁姸鎬� -1锛氬け鏁� 0-鏈敮浠� 1-宸叉敮浠�
-	public final static int STATE_SHIXIAO = -1;
-	public final static int STATE_WEIZHIFU = 0;
-	public final static int STATE_YIZHIFU = 1;
-
-	public final static int ORDER_TYPE_TAOBAO = 1;// 娣樺疂
-	public final static int ORDER_TYPE_JINGDONG = 2;// 浜笢
-
-	@Id
-	@GeneratedValue(strategy = GenerationType.AUTO)
-	@Column(name = "id")
-	@org.yeshi.utils.mybatis.Column(name = "id")
-	@Expose
-	private Long id;
-
-	@org.yeshi.utils.mybatis.Column(name = "orderid")
-	@Column(name = "orderid", length = 100)
-	@Expose
-	private String orderId;// 璁㈠崟缂栧彿
-
-	@org.yeshi.utils.mybatis.Column(name = "order_type")
-	@Column(name = "order_type")
-	@Expose
-	private Integer orderType;// 璁㈠崟绫诲瀷 1-娣樺疂 2-浜笢
-
-	@org.yeshi.utils.mybatis.Column(name = "state")
-	@Column(name = "`state`")
-	@Expose
-	private Integer state;// 璁㈠崟鐘讹拷? -1锛氬け鏁�0-鏈敮浠�?1-宸叉敮璐�
-
-	@org.yeshi.utils.mybatis.Column(name = "drawback_time")
-	@Column(name = "`drawback_time`")
-	@Expose
-	private Long drawbackTime;// 閫�娆炬椂闂�
-
-	@org.yeshi.utils.mybatis.Column(name = "createtime")
-	@Column(name = "`createtime`")
-	@Expose
-	private Long createtime;// 鍒涘缓鏃堕棿 浠樻鏃堕棿
-
-	@org.yeshi.utils.mybatis.Column(name = "uid")
-	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "uid")
-	@Expose
-	private UserInfo userInfo;
-
-	@org.yeshi.utils.mybatis.Column(name = "beizhu")
-	@Expose
-	@Column(name = "`beizhu`", length = 256)
-	private String beizhu;
-
-	@org.yeshi.utils.mybatis.Column(name = "money")
-	@Column(name = "`money`")
-	@Expose
-	private BigDecimal money;
-
-	// 绗笁鏂硅鍗曞垱寤烘椂闂�
-	@org.yeshi.utils.mybatis.Column(name = "third_createtime")
-	@Column(name = "`third_createtime`")
-	@Expose
-	private Date thirdCreateTime;
-
-	// 绗笁鏂硅鍗曠姸鎬�
-	@org.yeshi.utils.mybatis.Column(name = "third_state")
-	@Column(name = "`third_state`")
-	@Expose
-	private String thirdState;
-
-	public Date getThirdCreateTime() {
-		return thirdCreateTime;
-	}
-
-	public void setThirdCreateTime(Date thirdCreateTime) {
-		this.thirdCreateTime = thirdCreateTime;
-	}
-
-	public String getThirdState() {
-		return thirdState;
-	}
-
-	public void setThirdState(String thirdState) {
-		this.thirdState = thirdState;
-	}
-
-	/**
-	 * 鐗堟湰锛� 1锛�1.2.3v涔嬪墠锛�2:涔嬪悗
-	 */
-	@org.yeshi.utils.mybatis.Column(name = "version")
-	private Integer version;
-
-//	@OneToMany(fetch = FetchType.EAGER)
-//	@JoinTable(name = "yeshi_ec_order_item", joinColumns = { @JoinColumn(name = "oid") }, inverseJoinColumns = {
-//			@JoinColumn(name = "id") })
-//	private List<OrderItem> orderItemList = new ArrayList<OrderItem>();
-
-	public Order() {
-		money = BigDecimal.valueOf(0);
-	}
-
-	public BigDecimal getMoney() {
-		return money;
-	}
-
-	public void setMoney(BigDecimal money) {
-		this.money = money;
-	}
-
-	public Long getId() {
-		return id;
-	}
-
-//	public List<OrderItem> getOrderItemList() {
-//		return orderItemList;
-//	}
-//
-//	public void setOrderItemList(List<OrderItem> orderItemList) {
-//		this.orderItemList = orderItemList;
-//	}
-
-	public void setId(Long id) {
-		this.id = id;
-	}
-
-	public String getOrderId() {
-		return orderId;
-	}
-
-	public void setOrderId(String orderId) {
-		this.orderId = orderId;
-	}
-
-	public Integer getOrderType() {
-		return orderType;
-	}
-
-	public void setOrderType(Integer orderType) {
-		this.orderType = orderType;
-	}
-
-	public Integer getState() {
-		return state;
-	}
-
-	public void setState(Integer state) {
-		this.state = state;
-	}
-
-	public Long getDrawbackTime() {
-		return drawbackTime;
-	}
-
-	public void setDrawbackTime(Long drawbackTime) {
-		this.drawbackTime = drawbackTime;
-	}
-
-	public Long getCreatetime() {
-		return createtime;
-	}
-
-	public void setCreatetime(Long createtime) {
-		this.createtime = createtime;
-	}
-
-	public UserInfo getUserInfo() {
-		return userInfo;
-	}
-
-	public void setUserInfo(UserInfo userInfo) {
-		this.userInfo = userInfo;
-	}
-
-	public String getBeizhu() {
-		return beizhu;
-	}
-
-	public void setBeizhu(String beizhu) {
-		this.beizhu = beizhu;
-	}
-
-	public Integer getVersion() {
-		return version;
-	}
-
-	public void setVersion(Integer version) {
-		this.version = version;
-	}
-
-}
+package com.yeshi.fanli.entity.bus.user;
+
+import com.google.gson.annotations.Expose;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 璁㈠崟
+ *
+ * @author Administrator
+ */
+@org.yeshi.utils.generater.mybatis.Table("yeshi_ec_order")
+public class Order {
+    // 璁㈠崟鐘剁姸鎬� -1锛氬け鏁� 0-鏈敮浠� 1-宸叉敮浠�
+    public final static int STATE_SHIXIAO = -1;
+    public final static int STATE_WEIZHIFU = 0;
+    public final static int STATE_YIZHIFU = 1;
+
+    public final static int ORDER_TYPE_TAOBAO = 1;// 娣樺疂
+    public final static int ORDER_TYPE_JINGDONG = 2;// 浜笢
+    public final static int ORDER_TYPE_PDD = 3;// 鎷煎澶�
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "id")
+    @Expose
+    private Long id;
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "orderid")
+    @Expose
+    private String orderId;// 璁㈠崟缂栧彿
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "order_type")
+    @Expose
+    private Integer orderType;// 璁㈠崟绫诲瀷 1-娣樺疂 2-浜笢
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "state")
+    @Expose
+    private Integer state;// 璁㈠崟鐘舵�� -1锛氬け鏁�0-鏈敮浠�?1-宸叉敮璐�
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "state_desc")
+    @Expose
+    private String stateDesc;//璁㈠崟鎻忚堪
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "drawback_time")
+    @Expose
+    private Long drawbackTime;// 閫�娆炬椂闂�
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "createtime")
+    @Expose
+    private Long createtime;// 鍒涘缓鏃堕棿 浠樻鏃堕棿
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "uid")
+    @Expose
+    private UserInfo userInfo;
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "beizhu")
+    @Expose
+    private String beizhu;
+
+    @org.yeshi.utils.generater.mybatis.Column(name = "money")
+    @Expose
+    private BigDecimal money;
+
+    // 绗笁鏂硅鍗曞垱寤烘椂闂�
+    @org.yeshi.utils.generater.mybatis.Column(name = "third_createtime")
+    @Expose
+    private Date thirdCreateTime;
+
+    // 绗笁鏂硅鍗曠姸鎬�
+    @org.yeshi.utils.generater.mybatis.Column(name = "third_state")
+    @Expose
+    private String thirdState;
+
+    public Date getThirdCreateTime() {
+        return thirdCreateTime;
+    }
+
+    public void setThirdCreateTime(Date thirdCreateTime) {
+        this.thirdCreateTime = thirdCreateTime;
+    }
+
+    public String getThirdState() {
+        return thirdState;
+    }
+
+    public void setThirdState(String thirdState) {
+        this.thirdState = thirdState;
+    }
+
+    /**
+     * 鐗堟湰锛� 1锛�1.2.3v涔嬪墠锛�2:涔嬪悗
+     */
+    @org.yeshi.utils.generater.mybatis.Column(name = "version")
+    private Integer version;
+
+    public Order() {
+        money = BigDecimal.valueOf(0);
+    }
+
+    public BigDecimal getMoney() {
+        return money;
+    }
+
+    public void setMoney(BigDecimal money) {
+        this.money = money;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+//	public List<OrderItem> getOrderItemList() {
+//		return orderItemList;
+//	}
+//
+//public void setOrderItemList(List<OrderItem> orderItemList) {
+//	this.orderItemList = orderItemList;
+//}
+
+    public String getStateDesc() {
+        return stateDesc;
+    }
+
+    public void setStateDesc(String stateDesc) {
+        this.stateDesc = stateDesc;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getOrderId() {
+        return orderId;
+    }
+
+    public void setOrderId(String orderId) {
+        this.orderId = orderId;
+    }
+
+    public Integer getOrderType() {
+        return orderType;
+    }
+
+    public void setOrderType(Integer orderType) {
+        this.orderType = orderType;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+
+    public Long getDrawbackTime() {
+        return drawbackTime;
+    }
+
+    public void setDrawbackTime(Long drawbackTime) {
+        this.drawbackTime = drawbackTime;
+    }
+
+    public Long getCreatetime() {
+        return createtime;
+    }
+
+    public void setCreatetime(Long createtime) {
+        this.createtime = createtime;
+    }
+
+    public UserInfo getUserInfo() {
+        return userInfo;
+    }
+
+    public void setUserInfo(UserInfo userInfo) {
+        this.userInfo = userInfo;
+    }
+
+    public String getBeizhu() {
+        return beizhu;
+    }
+
+    public void setBeizhu(String beizhu) {
+        this.beizhu = beizhu;
+    }
+
+    public Integer getVersion() {
+        return version;
+    }
+
+    public void setVersion(Integer version) {
+        this.version = version;
+    }
+
+}

--
Gitblit v1.8.0