From 756e16e090b15c7fd8648f55f5451367face6abc Mon Sep 17 00:00:00 2001 From: jyy <jyy> Date: Sat, 19 Jun 2021 14:44:58 +0800 Subject: [PATCH] 修复业绩bug --- zq-erp/src/main/java/com/matrix/system/hive/bean/AchieveNew.java | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 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 dcfc9cf..ff883d8 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; @@ -79,6 +79,8 @@ * 购买业绩 */ private Double goodsCash; + + private Double cardCash; /** * 赠送消耗 @@ -226,6 +228,7 @@ * 开始时间 */ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM) + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") private Date beginTime; @@ -233,6 +236,7 @@ * 结束时间 */ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM) + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") private Date endTime; @@ -247,6 +251,27 @@ 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; } -- Gitblit v1.9.1