From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java |  376 ++++++++++++++++++++++++++++++-----------------------
 1 files changed, 214 insertions(+), 162 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java b/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
index 07b16f7..3205238 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
@@ -1,162 +1,214 @@
-package com.yeshi.fanli.entity.order;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-import org.springframework.data.annotation.Id;
-import org.springframework.data.mongodb.core.mapping.Document;
-import org.springframework.data.mongodb.core.mapping.Field;
-
-/**
- * 璁㈠崟鐩稿叧璧勯噾缁熻
- * @author Administrator
- *
- */
-@Document(collection = "order_money_daily_count")
-public class OrderMoneyDailyCount {
-	
-	public enum SourceTypeEnum {
-		taobao("娣樺疂", "http://img.flqapp.com/resource/icon/source_type_tb.png"),
-		tmall("澶╃尗", "http://img.flqapp.com/resource/icon/source_type_tm.png"),
-		tmallGlobal("澶╃尗鍥介檯", "http://img.flqapp.com/resource/icon/source_type_tb.png"),
-		juHuaSuan("鑱氬垝绠�", "http://img.flqapp.com/resource/icon/source_type_tb.png"),
-		huangLv("鑸梾", "http://img.flqapp.com/resource/icon/source_type_elme.png"),
-		kouBei("鍙g", "http://img.flqapp.com/resource/icon/source_type_elme.png"),
-		elme("楗夸簡涔�", "http://img.flqapp.com/resource/icon/source_type_elme.png"),
-		jingDong("浜笢", "http://img.flqapp.com/resource/icon/source_type_jd.png"),
-		pinDuoDuo("鎷煎澶�", "http://img.flqapp.com/resource/icon/source_type_pdd.png");
-		 
-		private final String desc;
-		private final String icon;
-		
-		private SourceTypeEnum(String desc, String icon) {
-			this.desc = desc;
-			this.icon = icon;
-		}
-
-		public String getDesc() {
-			return desc;
-		}
-
-		public String getIcon() {
-			return icon;
-		}
-	}
-	
-	
-
-	
-	
-	@Id
-	@Field("id")
-	private String id;
-
-	@Field("uid")
-	private Long uid; // 涓婄骇id
-	
-	@Field("sourceType")
-	private SourceTypeEnum sourceType; // 鏉ユ簮绫诲瀷
-	
-	@Field("yearMonth")
-	private String yearMonth; // 缁熻鏃ユ湡-瀛楃涓�
-	
-	@Field("countDay")
-	private Date countDay; // 缁熻鏃ユ湡
-	
-	@Field("income")
-	private BigDecimal income; // 鏀跺叆-鎴戠殑
-
-	@Field("incomeTeam")
-	private BigDecimal incomeTeam; // 鏀跺叆-鍥㈤槦-
-
-	@Field("orderNum")
-	private Integer orderNum; // 璁㈠崟鏁伴噺-鎴戠殑
-
-	@Field("orderNumTeam")
-	private Integer orderNumTeam; // 璁㈠崟鏁伴噺-鍥㈤槦
-
-	@Field("updateTime")
-	private Date updateTime; // 鏇存柊鏃堕棿
-	
-	
-
-	public String getId() {
-		return id;
-	}
-
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public Long getUid() {
-		return uid;
-	}
-
-	public void setUid(Long uid) {
-		this.uid = uid;
-	}
-
-	public BigDecimal getIncome() {
-		return income;
-	}
-
-	public void setIncome(BigDecimal income) {
-		this.income = income;
-	}
-
-	public BigDecimal getIncomeTeam() {
-		return incomeTeam;
-	}
-
-	public void setIncomeTeam(BigDecimal incomeTeam) {
-		this.incomeTeam = incomeTeam;
-	}
-
-	public Integer getOrderNum() {
-		return orderNum;
-	}
-
-	public void setOrderNum(Integer orderNum) {
-		this.orderNum = orderNum;
-	}
-
-	public Integer getOrderNumTeam() {
-		return orderNumTeam;
-	}
-
-	public void setOrderNumTeam(Integer orderNumTeam) {
-		this.orderNumTeam = orderNumTeam;
-	}
-
-	public Date getCountDay() {
-		return countDay;
-	}
-
-	public void setCountDay(Date countDay) {
-		this.countDay = countDay;
-	}
-
-	public Date getUpdateTime() {
-		return updateTime;
-	}
-
-	public void setUpdateTime(Date updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public SourceTypeEnum getSourceType() {
-		return sourceType;
-	}
-
-	public void setSourceType(SourceTypeEnum sourceType) {
-		this.sourceType = sourceType;
-	}
-
-	public String getYearMonth() {
-		return yearMonth;
-	}
-
-	public void setYearMonth(String yearMonth) {
-		this.yearMonth = yearMonth;
-	}
-}
+package com.yeshi.fanli.entity.order;
+
+import java.util.Date;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.index.Indexed;
+import org.springframework.data.mongodb.core.mapping.Document;
+import org.springframework.data.mongodb.core.mapping.Field;
+
+/**
+ * 璁㈠崟鐩稿叧璧勯噾缁熻
+ * 
+ * @author Administrator
+ *
+ */
+@Document(collection = "order_money_daily_count")
+public class OrderMoneyDailyCount {
+
+	@Id
+	@Field
+	private String id;
+	@Indexed
+	@Field
+	private Long uid; // 涓婄骇id
+	@Field
+	private SourceTypeEnum sourceType; // 鏉ユ簮绫诲瀷
+	@Indexed
+	@Field
+	private String yearMonth; // 缁熻鏃ユ湡-瀛楃涓�
+	@Indexed
+	@Field
+	private Date countDay; // 缁熻鏃ユ湡
+	@Field
+	private Integer income; // 鏀跺叆-鎴戠殑鏀剁泭 X 100
+	@Field
+	private Integer incomeTeam; // 鏀跺叆-鍥㈤槦鏀剁泭 X 100锛堜簩绾у唴锛�
+	@Field
+	private Integer orderNum; // 璁㈠崟鏁伴噺-鎴戠殑
+	@Field
+	private Integer orderNumTeam; // 璁㈠崟鏁伴噺-鍥㈤槦(浜岀骇鍐�)
+	@Field
+	private Integer teamReward; // 鍥㈤槦濂栧姳 X 100
+	@Field
+	private Integer teamRewardNum; // 鍥㈤槦濂栧姳璁㈠崟鏁伴噺
+	@Field
+	private Integer teamSubsidy; // 鍥㈤槦琛ヨ创 X 100
+	@Field
+	private Integer teamSubsidyNum; // 鍥㈤槦琛ヨ创璁㈠崟鏁伴噺
+	@Field
+	private Integer teamDividentsOrderNum;// 鍙備笌鍒嗙孩鐨勮鍗曟暟閲�
+	@Field
+	private Integer directOrderNum;// 鐩存帴璁㈠崟鏁伴噺
+	@Field
+	private Integer inDirectOrderNum;// 闂存帴璁㈠崟鏁伴噺
+	@Field
+	private Integer beyondOrderNum;// 浜岀骇澶栬鍗曟暟閲�
+
+	public OrderMoneyDailyCount() {
+	}
+
+	public OrderMoneyDailyCount(Integer directOrderNum, Integer inDirectOrderNum, Integer beyondOrderNum) {
+		this.directOrderNum = directOrderNum;
+		this.inDirectOrderNum = inDirectOrderNum;
+		this.beyondOrderNum = beyondOrderNum;
+	}
+
+	public Integer getDirectOrderNum() {
+		return directOrderNum;
+	}
+
+	public void setDirectOrderNum(Integer directOrderNum) {
+		this.directOrderNum = directOrderNum;
+	}
+
+	public Integer getInDirectOrderNum() {
+		return inDirectOrderNum;
+	}
+
+	public void setInDirectOrderNum(Integer inDirectOrderNum) {
+		this.inDirectOrderNum = inDirectOrderNum;
+	}
+
+	public Integer getBeyondOrderNum() {
+		return beyondOrderNum;
+	}
+
+	public void setBeyondOrderNum(Integer beyondOrderNum) {
+		this.beyondOrderNum = beyondOrderNum;
+	}
+
+	@Field
+	private Date updateTime; // 鏇存柊鏃堕棿
+
+	public String getId() {
+		return id;
+	}
+
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	public Long getUid() {
+		return uid;
+	}
+
+	public void setUid(Long uid) {
+		this.uid = uid;
+	}
+
+	public SourceTypeEnum getSourceType() {
+		return sourceType;
+	}
+
+	public void setSourceType(SourceTypeEnum sourceType) {
+		this.sourceType = sourceType;
+	}
+
+	public String getYearMonth() {
+		return yearMonth;
+	}
+
+	public void setYearMonth(String yearMonth) {
+		this.yearMonth = yearMonth;
+	}
+
+	public Date getCountDay() {
+		return countDay;
+	}
+
+	public void setCountDay(Date countDay) {
+		this.countDay = countDay;
+	}
+
+	public Integer getIncome() {
+		return income;
+	}
+
+	public void setIncome(Integer income) {
+		this.income = income;
+	}
+
+	public Integer getIncomeTeam() {
+		return incomeTeam;
+	}
+
+	public void setIncomeTeam(Integer incomeTeam) {
+		this.incomeTeam = incomeTeam;
+	}
+
+	public Integer getOrderNum() {
+		return orderNum;
+	}
+
+	public void setOrderNum(Integer orderNum) {
+		this.orderNum = orderNum;
+	}
+
+	public Integer getOrderNumTeam() {
+		return orderNumTeam;
+	}
+
+	public void setOrderNumTeam(Integer orderNumTeam) {
+		this.orderNumTeam = orderNumTeam;
+	}
+
+	public Integer getTeamReward() {
+		return teamReward;
+	}
+
+	public void setTeamReward(Integer teamReward) {
+		this.teamReward = teamReward;
+	}
+
+	public Integer getTeamRewardNum() {
+		return teamRewardNum;
+	}
+
+	public void setTeamRewardNum(Integer teamRewardNum) {
+		this.teamRewardNum = teamRewardNum;
+	}
+
+	public Integer getTeamSubsidy() {
+		return teamSubsidy;
+	}
+
+	public void setTeamSubsidy(Integer teamSubsidy) {
+		this.teamSubsidy = teamSubsidy;
+	}
+
+	public Integer getTeamSubsidyNum() {
+		return teamSubsidyNum;
+	}
+
+	public void setTeamSubsidyNum(Integer teamSubsidyNum) {
+		this.teamSubsidyNum = teamSubsidyNum;
+	}
+
+	public Date getUpdateTime() {
+		return updateTime;
+	}
+
+	public void setUpdateTime(Date updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	public Integer getTeamDividentsOrderNum() {
+		return teamDividentsOrderNum;
+	}
+
+	public void setTeamDividentsOrderNum(Integer teamDividentsOrderNum) {
+		this.teamDividentsOrderNum = teamDividentsOrderNum;
+	}
+
+}

--
Gitblit v1.8.0