package com.yeejoin.precontrol.common.after.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @Author: Wanglulu
 * @Date: 2021/4/30 17:32
 * @Version 0.0.1
 */
@Component
@Slf4j
public class ApplicationRunnerImpl implements ApplicationRunner {

    @Autowired
    CompanyAndPersonTask companyAndPersonTask;

    @Override
    public void run(ApplicationArguments args) throws Exception {
//        log.info("=========项目启动完成同步数据开始==========");
        //companyAndPersonTask.run();
//        log.info("=========项目启动完成同步数据完成==========");
    }
}
