xiaoyong931011
2021-03-04 a667bd4f496cfd5ddd3647e0be82b0008e379fe8
20210304   最大持仓数设置0时,显示为空
1 files modified
6 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java 6 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java
@@ -622,10 +622,10 @@
        documentaryOrderSetInfoVo.setFollowCnt(followCnt);
        
        Integer maxFollowCnt = followFollowerSettingEntity.getMaxFollowCnt();
        if(maxFollowCnt == 0){
            documentaryOrderSetInfoVo.setMaxFollowCnt(null);
        if(maxFollowCnt > 0){
            documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt.toString());
        }
        documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt.toString());
        documentaryOrderSetInfoVo.setMaxFollowCnt(null);
        log.info(memberId + "-最大持仓张数-"+maxFollowCnt.toString());
        return Result.ok(documentaryOrderSetInfoVo);
    }