From d76ed8abc8f31e210f4e93f173f41bc2861870dd Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 06 Apr 2021 15:37:49 +0800 Subject: [PATCH] 20210406 交易员列表查询 --- src/test/java/com/xcong/excoin/FollowTest.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/test/java/com/xcong/excoin/FollowTest.java b/src/test/java/com/xcong/excoin/FollowTest.java index 9dde5f5..7cf737a 100644 --- a/src/test/java/com/xcong/excoin/FollowTest.java +++ b/src/test/java/com/xcong/excoin/FollowTest.java @@ -1,6 +1,7 @@ package com.xcong.excoin; import com.xcong.excoin.modules.documentary.service.FollowOrderOperationService; +import com.xcong.excoin.quartz.job.FollowProfitUpdateJob; import com.xcong.excoin.utils.ThreadPoolUtils; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; @@ -25,4 +26,20 @@ // ThreadPoolUtils.sendFollowOrderTask(601L); } + + @Test + public void strContainsTest() { + String symbols = "BTC,ETH,LTC,BCH"; + String symbol = "BTC/USDT"; + + System.out.println(symbols.contains(symbol.replace("/USDT", ""))); + } + + @Resource + private FollowProfitUpdateJob followProfitUpdateJob; + + @Test + public void updateJobTest() { + followProfitUpdateJob.traderProfitUpdate(); + } } -- Gitblit v1.9.1