From ec8da058e74bae11d9d67580d9ae0e2e70527ae8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 26 Mar 2021 17:18:33 +0800
Subject: [PATCH] 20210326  交易员列表定时器

---
 src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java |    2 +-
 1 files changed, 1 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 18d649c..56dfeaf 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
@@ -526,7 +526,7 @@
 				String nickname = followTraderInfoEntity.getNickname();
 				myFollowTraderInfoVo.setNickname(nickname);
 				BigDecimal totalPrincipal = FollowFollowerProfitEntity.getTotalPrincipal();
-				myFollowTraderInfoVo.setTotalPrincipal(totalPrincipal);
+				myFollowTraderInfoVo.setTotalPrincipal(totalPrincipal.setScale(2, BigDecimal.ROUND_DOWN));
 				BigDecimal totalProfit = FollowFollowerProfitEntity.getTotalProfit();
 	        	myFollowTraderInfoVo.setTotalProfit(totalProfit.setScale(2, BigDecimal.ROUND_DOWN));
 

--
Gitblit v1.9.1