From 02e320c6dcb715a969af3d80e363a671e914b10e Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Thu, 15 Apr 2021 23:11:14 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java b/src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java
index 6baf44e..4df5e40 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java
@@ -216,6 +216,10 @@
         		FollowTraderProfitInfoVo.setDeclaration(declaration);
         		Integer isAll = followTraderInfoEntity.getIsAll();
         		FollowTraderProfitInfoVo.setIsAll(isAll);
+
+				Date entryTime = followTraderInfoEntity.getEntryTime();
+				int datePoor = getDatePoor(entryTime, new Date());
+				FollowTraderProfitInfoVo.setEntryDays(datePoor);
         		
         		String labels = followTraderInfoEntity.getLabels();
         		if(StrUtil.isNotEmpty(labels)) {
@@ -1032,7 +1036,11 @@
         	tradeProfitInfoVo.setTotalFollowerCnt(totalFollowerCnt);
         	BigDecimal totalOrderCnt = followTraderProfitInfoVo.getTotalOrderCnt();
         	tradeProfitInfoVo.setTotalOrderCnt(totalOrderCnt);
-        }
+			BigDecimal thirtyProfitRatio = followTraderProfitInfoVo.getThirtyProfitRatio();
+			tradeProfitInfoVo.setThirtyProfitRatio(thirtyProfitRatio);
+			BigDecimal thirtyRatio = followTraderProfitInfoVo.getThirtyRatio();
+			tradeProfitInfoVo.setThirtyRatio(thirtyRatio);
+		}
 		return Result.ok(tradeProfitInfoVo);
 	}
 

--
Gitblit v1.9.1