From 4f33f1db1931ea4eac3c6f7aa5c62c670862aae0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 04 Mar 2021 14:30:48 +0800
Subject: [PATCH] 20210304   最大持仓数设置0时,显示为空

---
 src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java |    5 ++++-
 1 files changed, 4 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 ba8d937..23853db 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
@@ -622,7 +622,10 @@
         documentaryOrderSetInfoVo.setFollowCnt(followCnt);
         
         Integer maxFollowCnt = followFollowerSettingEntity.getMaxFollowCnt();
-        documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt);
+        if(maxFollowCnt == 0){
+        	documentaryOrderSetInfoVo.setMaxFollowCnt(null);
+		}
+        documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt.toString());
         
 		return Result.ok(documentaryOrderSetInfoVo);
 	}

--
Gitblit v1.9.1