From ad31648c6f7a8bff1f7ccdf84b76006b9ffb78f8 Mon Sep 17 00:00:00 2001
From: jyy <jyy>
Date: Sat, 17 Jul 2021 15:59:10 +0800
Subject: [PATCH] 1.	新增套餐中有效和无效的操作 2.	会员修改门店功能 3.	套餐新增编辑次数功能 4.	计算是否为赠送的条件为,全部为赠送金额购买且支付金额大于0 5.	打印小票功能调整间距,和收银人 6.	PC端服务单新增划扣金额展示

---
 zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java |  146 ++++++++++++++++++++++++++----------------------
 1 files changed, 79 insertions(+), 67 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java b/zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java
index a7bc0c8..8f498a0 100644
--- a/zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java
+++ b/zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java
@@ -3,15 +3,15 @@
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.matrix.core.anotations.Extend;
 import com.matrix.core.tools.DateUtil;
+import com.matrix.system.common.bean.EntityDTOExt;
 import org.springframework.format.annotation.DateTimeFormat;
 
-import java.io.Serializable;
 import java.util.Date;
 /**
  *
  * @date 2019-03-24 23:55
  */
-public class AchieveNew implements Serializable{
+public class AchieveNew extends EntityDTOExt {
 	@Extend
 	private static final long serialVersionUID = 1L; 
 
@@ -26,7 +26,7 @@
 			
 	
 	/**
-	 * 美疗师id
+	 * 美疗师id  把这个字段视为正式的业绩归属人
 	 */
 	private Long  beaultId;
 			
@@ -72,7 +72,15 @@
 	 * 客户id
 	 */
 	private Long  vipId;
-			
+
+
+
+	/**
+	 * 购买业绩
+	 */
+	private Double  goodsCash;
+
+	private Double cardCash;
 	
 	/**
 	 * 赠送消耗
@@ -85,30 +93,7 @@
 	 */
 	private Double  hisConsume;
 			
-	
-	/**
-	 * 划扣金额 从卡中划扣钱买东西
-	 */
-	private Double  consume;
-			
-	
-	/**
-	 * 卡项,套餐,充值,开会籍卡
-	 */
-	private Double  cardCash;
-			
-	
-	/**
-	 * 现金单次,购买项目的业绩
-	 */
-	@Deprecated
-	private Double  projCash;
-			
-	
-	/**
-	 * 现金产品,购买家居产品的钱
-	 */
-	private Double  goodsCash;
+
 			
 	
 	/**
@@ -156,11 +141,12 @@
 	 * 总金额
 	 */
 	private Double  zkTotal;
+
 	/**
 	 * 公司id
 	 */
 	private Long companyId;
-	
+
 	private String  t1;
 			
 	
@@ -168,13 +154,11 @@
 
 
 	/**
-	 * 岗位业绩
-	 */
-	private String  t3;
-
-	/**
 	 * 业绩类型
 	 */
+	private String  achieveType;
+
+
 	private String  t4;
 			
 	
@@ -207,6 +191,8 @@
 	private String day;
 
 	private String vipQueryKey;
+
+	private Long achieveRuleId;
 
 
 	/**
@@ -244,6 +230,7 @@
 	 * 开始时间
 	 */
 	@DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM)
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
 	private Date  beginTime;
 			
 	
@@ -251,19 +238,57 @@
 	 * 结束时间
 	 */
 	@DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM)
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
 	private Date  endTime;
 
 
-	/**
-	 * 分配的业绩金额
-	 */
-	private Double achieveMoney;
 
 	private String goodsNo;
 
 	private String goodsName;
 
 	private String type;
+
+	private String payMethod;
+
+	private String cateName;
+
+	/**
+	 * 业绩规则名称
+	 */
+	private String achieveRuleName;
+
+	public String getAchieveRuleName() {
+		return achieveRuleName;
+	}
+
+	public void setAchieveRuleName(String achieveRuleName) {
+		this.achieveRuleName = achieveRuleName;
+	}
+
+	public Double getCardCash() {
+		return cardCash;
+	}
+
+	public void setCardCash(Double cardCash) {
+		this.cardCash = cardCash;
+	}
+
+	public String getCateName() {
+		return cateName;
+	}
+
+	public void setCateName(String cateName) {
+		this.cateName = cateName;
+	}
+
+	public String getPayMethod() {
+		return payMethod;
+	}
+
+	public void setPayMethod(String payMethod) {
+		this.payMethod = payMethod;
+	}
 
 	public String getType() {
 		return type;
@@ -313,13 +338,6 @@
 		this.companyId = companyId;
 	}
 
-	public Double getAchieveMoney() {
-		return achieveMoney;
-	}
-
-	public void setAchieveMoney(Double achieveMoney) {
-		this.achieveMoney = achieveMoney;
-	}
 
 	public Date getBeginTime() {
 		return beginTime;
@@ -405,24 +423,8 @@
 	public void setHisConsume(Double hisConsume) {
 		this.hisConsume = hisConsume;
 	}
-	public Double getConsume() {
-		return consume;
-	}
-	public void setConsume(Double consume) {
-		this.consume = consume;
-	}
-	public Double getCardCash() {
-		return cardCash;
-	}
-	public void setCardCash(Double cardCash) {
-		this.cardCash = cardCash;
-	}
-	public Double getProjCash() {
-		return projCash;
-	}
-	public void setProjCash(Double projCash) {
-		this.projCash = projCash;
-	}
+
+
 	public Double getGoodsCash() {
 		return goodsCash;
 	}
@@ -483,12 +485,15 @@
 	public void setT2(String t2) {
 		this.t2 = t2;
 	}
-	public String getT3() {
-		return t3;
+
+	public String getAchieveType() {
+		return achieveType;
 	}
-	public void setT3(String t3) {
-		this.t3 = t3;
+
+	public void setAchieveType(String achieveType) {
+		this.achieveType = achieveType;
 	}
+
 	public String getT4() {
 		return t4;
 	}
@@ -538,6 +543,13 @@
 		this.day = day;
 	}
 
+	public Long getAchieveRuleId() {
+		return achieveRuleId;
+	}
+
+	public void setAchieveRuleId(Long achieveRuleId) {
+		this.achieveRuleId = achieveRuleId;
+	}
 
 	public String getOrderNo() {
 		return orderNo;

--
Gitblit v1.9.1