|
|
@ -29,8 +29,8 @@ import java.util.concurrent.Executors;
|
|
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
|
|
//@Configuration //1.主要用于标记配置类,兼备Component的效果。
|
|
|
|
@Configuration //1.主要用于标记配置类,兼备Component的效果。
|
|
|
|
//@EnableScheduling // 2.开启定时任务
|
|
|
|
@EnableScheduling // 2.开启定时任务
|
|
|
|
@Slf4j
|
|
|
|
@Slf4j
|
|
|
|
public class TtDataCollectTask implements SchedulingConfigurer {
|
|
|
|
public class TtDataCollectTask implements SchedulingConfigurer {
|
|
|
|
|
|
|
|
|
|
|
|