重新对 order 进行查分,给芋艿哥哥看看哈~

pull/1/head
sin 2019-03-19 21:04:22 +08:00
parent 45dfd137d4
commit d844a62440
7 changed files with 812 additions and 131 deletions

View File

@ -12,9 +12,13 @@ import java.util.Date;
public class OrderDO implements Serializable {
/**
*
* id
*/
private Integer id;
/**
* id
*/
private Integer orderLogisticsId;
/**
*
*/
@ -23,51 +27,12 @@ public class OrderDO implements Serializable {
*
*/
private Integer price;
///
/// 时间信息
/**
*
*/
private String receiverAreaNo;
/**
*
*/
private String receiverName;
/**
*
*/
private String receiverMobile;
/**
*
*/
private String receiverAddress;
/**
* ()
*
* - 0
* - 1
* - 2
* - 20
* - 21
* - 40退
* - 41退
*/
private Integer status;
/**
*
*
* - 0
* - 1
* - 2退
*/
private Integer payStatus;
/**
*
*
* - 0
* - 1
*/
private Integer deleteStatus;
/**
*
*
*/
private Date createTime;
/**
@ -78,10 +43,48 @@ public class OrderDO implements Serializable {
*
*/
private Date deliveryTime;
/**
*
*/
private Date receiverTime;
/**
*
*/
private Date closingTime;
///
/// 其他
/**
* 退
*
* - 0no
* - 1yes
*/
private Integer hasReturn;
/**
*
*
* - 0no
* - 1yes
*/
private Integer hasExchange;
/**
* ()
*
* - 0
* - 1
* - 2退
* - 3
*/
private Integer status;
/**
*
*
* - 0
* - 1
*/
private Integer deleteStatus;
/**
*
*/
@ -91,19 +94,18 @@ public class OrderDO implements Serializable {
public String toString() {
return "OrderDO{" +
"id=" + id +
", orderLogisticsId=" + orderLogisticsId +
", orderNo='" + orderNo + '\'' +
", price=" + price +
", receiverAreaNo='" + receiverAreaNo + '\'' +
", receiverName='" + receiverName + '\'' +
", receiverMobile='" + receiverMobile + '\'' +
", receiverAddress='" + receiverAddress + '\'' +
", status=" + status +
", payStatus=" + payStatus +
", deleteStatus=" + deleteStatus +
", createTime=" + createTime +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturn=" + hasReturn +
", hasExchange=" + hasExchange +
", status=" + status +
", deleteStatus=" + deleteStatus +
", remark='" + remark + '\'' +
'}';
}
@ -117,6 +119,15 @@ public class OrderDO implements Serializable {
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderDO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public String getOrderNo() {
return orderNo;
}
@ -135,69 +146,6 @@ public class OrderDO implements Serializable {
return this;
}
public String getReceiverAreaNo() {
return receiverAreaNo;
}
public OrderDO setReceiverAreaNo(String receiverAreaNo) {
this.receiverAreaNo = receiverAreaNo;
return this;
}
public String getReceiverName() {
return receiverName;
}
public OrderDO setReceiverName(String receiverName) {
this.receiverName = receiverName;
return this;
}
public String getReceiverMobile() {
return receiverMobile;
}
public OrderDO setReceiverMobile(String receiverMobile) {
this.receiverMobile = receiverMobile;
return this;
}
public String getReceiverAddress() {
return receiverAddress;
}
public OrderDO setReceiverAddress(String receiverAddress) {
this.receiverAddress = receiverAddress;
return this;
}
public Integer getStatus() {
return status;
}
public OrderDO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getPayStatus() {
return payStatus;
}
public OrderDO setPayStatus(Integer payStatus) {
this.payStatus = payStatus;
return this;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public OrderDO setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
return this;
}
public Date getCreateTime() {
return createTime;
}
@ -225,6 +173,15 @@ public class OrderDO implements Serializable {
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
@ -234,6 +191,42 @@ public class OrderDO implements Serializable {
return this;
}
public Integer getHasReturn() {
return hasReturn;
}
public OrderDO setHasReturn(Integer hasReturn) {
this.hasReturn = hasReturn;
return this;
}
public Integer getHasExchange() {
return hasExchange;
}
public OrderDO setHasExchange(Integer hasExchange) {
this.hasExchange = hasExchange;
return this;
}
public Integer getStatus() {
return status;
}
public OrderDO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public OrderDO setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
return this;
}
public String getRemark() {
return remark;
}

View File

@ -0,0 +1,188 @@
package cn.iocoder.mall.order.dataobject;
import java.io.Serializable;
import java.util.Date;
/**
*
*
* @author Sin
* @time 2019-03-19 19:48
*/
public class OrderExchangeDO implements Serializable {
/**
* id
*/
private Integer id;
/**
* id
*/
private Integer orderId;
/**
*
*/
private String orderNo;
/**
* id
*/
private Integer exchangeOrderLogisticsId;
/**
* id
*/
private Integer receiverOrderLogisticsId;
///
/// 时间信息
/**
*
*/
private Date createTime;
/**
*
*/
private Date paymentTime;
/**
*
*/
private Date deliveryTime;
/**
*
*/
private Date receiverTime;
/**
*
*/
private Date closingTime;
///
/// 其他
/**
*
*
* -
* -
* -
* -
* -
*/
private Integer status;
@Override
public String toString() {
return "OrderExchangeDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", exchangeOrderLogisticsId=" + exchangeOrderLogisticsId +
", receiverOrderLogisticsId=" + receiverOrderLogisticsId +
", createTime=" + createTime +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", status=" + status +
'}';
}
public Integer getId() {
return id;
}
public OrderExchangeDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderExchangeDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderExchangeDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getExchangeOrderLogisticsId() {
return exchangeOrderLogisticsId;
}
public OrderExchangeDO setExchangeOrderLogisticsId(Integer exchangeOrderLogisticsId) {
this.exchangeOrderLogisticsId = exchangeOrderLogisticsId;
return this;
}
public Integer getReceiverOrderLogisticsId() {
return receiverOrderLogisticsId;
}
public OrderExchangeDO setReceiverOrderLogisticsId(Integer receiverOrderLogisticsId) {
this.receiverOrderLogisticsId = receiverOrderLogisticsId;
return this;
}
public Date getCreateTime() {
return createTime;
}
public OrderExchangeDO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderExchangeDO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderExchangeDO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderExchangeDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderExchangeDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getStatus() {
return status;
}
public OrderExchangeDO setStatus(Integer status) {
this.status = status;
return this;
}
}

View File

@ -19,6 +19,10 @@ public class OrderItemDO implements Serializable {
*
*/
private Integer orderId;
/**
*
*/
private String orderNo;
/**
*
*/
@ -31,33 +35,75 @@ public class OrderItemDO implements Serializable {
* ()
*/
private Integer price;
///
/// 时间信息
/**
*
*
* - 0
* - 1
* - 2
* - 20
* - 21
* - 40退
* - 41退
*
*/
private Integer status;
private Date createTime;
/**
*
*/
private Date paymentTime;
/**
*
*/
private Date deliveryTime;
/**
*
*/
private Date receiverTime;
/**
*
*/
private Date closingTime;
///
/// 其他
/**
* 退
*
* - 0no
* - 1yes
*/
private Integer hasReturn;
/**
*
*
* - 0no
* - 1yes
*/
private Integer hasExchange;
/**
*
*
* - 0
* - 1
* - 2退
* - 3
*/
private Integer status;
@Override
public String toString() {
return "OrderItemDO{" +
"id=" + id +
", orderId='" + orderId + '\'' +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", commodityId='" + commodityId + '\'' +
", quantity=" + quantity +
", price=" + price +
", status=" + status +
", createTime=" + createTime +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturn=" + hasReturn +
", hasExchange=" + hasExchange +
", status=" + status +
'}';
}
@ -79,6 +125,15 @@ public class OrderItemDO implements Serializable {
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderItemDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public String getCommodityId() {
return commodityId;
}
@ -106,12 +161,21 @@ public class OrderItemDO implements Serializable {
return this;
}
public Integer getStatus() {
return status;
public Date getCreateTime() {
return createTime;
}
public OrderItemDO setStatus(Integer status) {
this.status = status;
public OrderItemDO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderItemDO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
@ -123,4 +187,49 @@ public class OrderItemDO implements Serializable {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderItemDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderItemDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getHasReturn() {
return hasReturn;
}
public OrderItemDO setHasReturn(Integer hasReturn) {
this.hasReturn = hasReturn;
return this;
}
public Integer getHasExchange() {
return hasExchange;
}
public OrderItemDO setHasExchange(Integer hasExchange) {
this.hasExchange = hasExchange;
return this;
}
public Integer getStatus() {
return status;
}
public OrderItemDO setStatus(Integer status) {
this.status = status;
return this;
}
}

View File

@ -0,0 +1,103 @@
package cn.iocoder.mall.order.dataobject;
import java.io.Serializable;
/**
*
*
* @author Sin
* @time 2019-03-19 20:47
*/
public class OrderLogisticsDO implements Serializable {
/**
* id
*/
private Integer id;
/**
*
*/
private String areaNo;
/**
*
*/
private String name;
/**
*
*/
private String mobile;
/**
*
*/
private String address;
/**
*
*/
private String logisticsNo;
@Override
public String toString() {
return "OrderLogisticsDO{" +
"id=" + id +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", logisticsNo='" + logisticsNo + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsDO setId(Integer id) {
this.id = id;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderLogisticsDO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderLogisticsDO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderLogisticsDO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderLogisticsDO setAddress(String address) {
this.address = address;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderLogisticsDO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
}

View File

@ -0,0 +1,92 @@
package cn.iocoder.mall.order.dataobject;
import java.io.Serializable;
import java.util.Date;
/**
* -
*
* -
*
* @author Sin
* @time 2019-03-19 20:48
*/
public class OrderLogisticsDetailDO implements Serializable {
/**
* id
*/
private Integer id;
/**
* id
*/
private Integer orderLogisticsId;
/**
*
*/
private Date logisticsTime;
/**
*
*/
private String logisticsInformation;
/**
*
*/
private Date createTime;
@Override
public String toString() {
return "OrderLogisticsDetailDO{" +
"id=" + id +
", orderLogisticsId=" + orderLogisticsId +
", logisticsTime=" + logisticsTime +
", logisticsInformation='" + logisticsInformation + '\'' +
", createTime=" + createTime +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsDetailDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderLogisticsDetailDO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public Date getLogisticsTime() {
return logisticsTime;
}
public OrderLogisticsDetailDO setLogisticsTime(Date logisticsTime) {
this.logisticsTime = logisticsTime;
return this;
}
public String getLogisticsInformation() {
return logisticsInformation;
}
public OrderLogisticsDetailDO setLogisticsInformation(String logisticsInformation) {
this.logisticsInformation = logisticsInformation;
return this;
}
public Date getCreateTime() {
return createTime;
}
public OrderLogisticsDetailDO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
}

View File

@ -0,0 +1,191 @@
package cn.iocoder.mall.order.dataobject;
import java.io.Serializable;
import java.util.Date;
/**
* 退
*
* @author Sin
* @time 2019-03-19 19:48
*/
public class OrderReturnDO implements Serializable {
/**
*
*/
private Integer id;
/**
*
*/
private Integer orderId;
/**
*
*/
private String orderNo;
/**
* item
*/
private Integer orderItemId;
///
/// 时间信息
/**
*
*/
private Date createTime;
/**
*
*/
private Date approvalTime;
/**
*
*/
private Date logisticsTime;
/**
*
*/
private Date receiverTime;
/**
*
*/
private Date closingTime;
///
/// 其他
/**
*
*
* - 0 Order 退
* - 1 OrderItem 退
*/
private Integer orderType;
/**
*
*
* - 0退
* - 1
* - 2
* - 3退
* - 4退
*/
private Integer status;
@Override
public String toString() {
return "OrderReturnDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", orderItemId=" + orderItemId +
", createTime=" + createTime +
", approvalTime=" + approvalTime +
", logisticsTime=" + logisticsTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", orderType=" + orderType +
", status=" + status +
'}';
}
public Integer getId() {
return id;
}
public OrderReturnDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderReturnDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderReturnDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getOrderItemId() {
return orderItemId;
}
public OrderReturnDO setOrderItemId(Integer orderItemId) {
this.orderItemId = orderItemId;
return this;
}
public Date getCreateTime() {
return createTime;
}
public OrderReturnDO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Date getApprovalTime() {
return approvalTime;
}
public OrderReturnDO setApprovalTime(Date approvalTime) {
this.approvalTime = approvalTime;
return this;
}
public Date getLogisticsTime() {
return logisticsTime;
}
public OrderReturnDO setLogisticsTime(Date logisticsTime) {
this.logisticsTime = logisticsTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderReturnDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderReturnDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getOrderType() {
return orderType;
}
public OrderReturnDO setOrderType(Integer orderType) {
this.orderType = orderType;
return this;
}
public Integer getStatus() {
return status;
}
public OrderReturnDO setStatus(Integer status) {
this.status = status;
return this;
}
}

View File

@ -0,0 +1,5 @@
## 订单
TODO