From f83e2bbe8b26572b2ceec4f55d2e575e98233c43 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 13 Apr 2021 15:43:21 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 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 87a2eb8..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)) {

--
Gitblit v1.9.1