From 9080f16e29363b99f7d9e659ceb7d236aa36bafa Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Mon, 08 Mar 2021 08:31:36 +0800 Subject: [PATCH] 修改数据库 --- zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java | 81 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 79 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java b/zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java index bb4736d..191f430 100644 --- a/zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java +++ b/zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java @@ -15,7 +15,15 @@ */ public class SysOrder implements Serializable { - private static final long serialVersionUID = 1L; + /** + * 订单类型-销售订单 + */ + public static final int ORDER_TYPE_SEAL= 1; + + /** + * 订单类型-退款订单 + */ + public static final int ORDER_TYPE_REFUND= 2; /** * 序号 @@ -114,6 +122,8 @@ * 订单明细 */ private List<SysOrderItem> items; + + private List<SysOrderFlow> flows; /** * 会员姓名 */ @@ -123,7 +133,12 @@ * 会员姓名 */ private String vipNo; - + + /** + * 订单类型1,销售订单,2退款订单 + */ + private Integer orderType; + /* 会员手机号 */ private String vipPhone; @@ -131,6 +146,8 @@ private String staffName; private String shopName; + + private String shopShortName; private Long searchShop; /** @@ -155,6 +172,66 @@ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM) private Date endTimeVo; + /** + * 消费次数 + */ + private Integer times; + + + private String type; + + /** + * 原有订单ID 退款时使用 + */ + private Long oldOrderId; + + public Long getOldOrderId() { + return oldOrderId; + } + + public void setOldOrderId(Long oldOrderId) { + this.oldOrderId = oldOrderId; + } + + public List<SysOrderFlow> getFlows() { + return flows; + } + + public void setFlows(List<SysOrderFlow> flows) { + this.flows = flows; + } + + public String getShopShortName() { + return shopShortName; + } + + public void setShopShortName(String shopShortName) { + this.shopShortName = shopShortName; + } + + public Integer getOrderType() { + return orderType; + } + + public void setOrderType(Integer orderType) { + this.orderType = orderType; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Integer getTimes() { + return times; + } + + public void setTimes(Integer times) { + this.times = times; + } public String getBeatuyId() { return beatuyId; -- Gitblit v1.9.1