From 4351e71d782741143a98f86f6648acd16689165f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 27 May 2022 19:48:02 +0800 Subject: [PATCH] Merge branch 'developer' into hive2.0 --- zq-erp/src/main/java/com/matrix/system/hive/bean/SysOrder.java | 86 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 69 insertions(+), 17 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 191f430..62d0769 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 @@ -1,5 +1,6 @@ package com.matrix.system.hive.bean; +import com.matrix.core.anotations.Extend; import com.matrix.core.tools.DateUtil; import org.springframework.format.annotation.DateTimeFormat; @@ -42,7 +43,7 @@ private Date orderTime; /** - * 收款 + * calculationType: 1, */ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") private Date payTime; @@ -56,7 +57,18 @@ * 员工编号(美容顾问) 下单人id */ private Long staffId; - + /** + * 收银员姓名 + */ + @Extend + private String cashierName; + + + /** + * 收银员 + */ + private Long cashierId; + /** * 商机id */ @@ -85,24 +97,24 @@ /** * 订单总价 */ - private double total; + private Double total; /** * 折后价 */ - private double zkTotal; + private Double zkTotal; /** * 现金支付金额 */ - private double cashPay; + private Double cashPay; /** * 现金支付金额 */ - private double cardPay; + private Double cardPay; /** * 欠款金额 */ - private double arrears; + private Double arrears; /** * 店铺id @@ -142,6 +154,7 @@ /* 会员手机号 */ private String vipPhone; + private String staffName; @@ -184,6 +197,45 @@ * 原有订单ID 退款时使用 */ private Long oldOrderId; + + /** + * 该订单有退款 + */ + public static final Integer IS_HAS_REFUND_Y = 1; + + /** + * 该订单无退款 + */ + public static final Integer IS_HAS_REFUND_N = 2; + + /** + * 是否发生退款 1-是 2-否 + */ + private Integer isHasRefund; + + public String getCashierName() { + return cashierName; + } + + public void setCashierName(String cashierName) { + this.cashierName = cashierName; + } + + public Long getCashierId() { + return cashierId; + } + + public void setCashierId(Long cashierId) { + this.cashierId = cashierId; + } + + public Integer getIsHasRefund() { + return isHasRefund; + } + + public void setIsHasRefund(Integer isHasRefund) { + this.isHasRefund = isHasRefund; + } public Long getOldOrderId() { return oldOrderId; @@ -265,19 +317,19 @@ this.searchShop = searchShop; } - public double getArrears() { + public Double getArrears() { return arrears; } - public void setArrears(double arrears) { + public void setArrears(Double arrears) { this.arrears = arrears; } - public double getCardPay() { + public Double getCardPay() { return cardPay; } - public void setCardPay(double cardPay) { + public void setCardPay(Double cardPay) { this.cardPay = cardPay; } @@ -304,11 +356,11 @@ public void setEndTimeVo(Date endTimeVo) { this.endTimeVo = endTimeVo; } - public double getCashPay() { + public Double getCashPay() { return cashPay; } - public void setCashPay(double cashPay) { + public void setCashPay(Double cashPay) { this.cashPay = cashPay; } @@ -414,11 +466,11 @@ this.activity = activity; } - public double getTotal() { + public Double getTotal() { return total; } - public void setTotal(double total) { + public void setTotal(Double total) { this.total = total; } @@ -443,11 +495,11 @@ this.changeId = changeId; } - public double getZkTotal() { + public Double getZkTotal() { return zkTotal; } - public void setZkTotal(double zkTotal) { + public void setZkTotal(Double zkTotal) { this.zkTotal = zkTotal; } -- Gitblit v1.9.1