燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-03-22 9f5b9d64291c1cb3bd664df1fb5125711e0f6763
1
已修改1个文件
14 ■■■■ 文件已修改
src/main/java/com/yssh/config/InitConfig.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/yssh/config/InitConfig.java
@@ -3,8 +3,6 @@
import com.yssh.service.WarningAnalyseService;
import com.yssh.service.XlsReportService;
import com.yssh.utils.CacheUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
@@ -15,7 +13,6 @@
import com.yssh.service.DictRecordService;
import javax.annotation.Resource;
import java.util.Calendar;
@Component
public class InitConfig implements ApplicationRunner {
@@ -31,14 +28,11 @@
    @Resource
    WarningAnalyseService warningAnalyseService;
    @Resource
    ScheduleConfig task;
    //@Resource
    //ScheduleConfig task;
    @Resource
    XlsReportService xlsReportService;
    @Resource
    ScheduleConfig config;
    @Override
    public void run(ApplicationArguments args) throws Exception {
@@ -55,8 +49,8 @@
    }
    private void test() {
        //config.createMonthReport();
        //config.corpReserveDataSync();
        //task.createMonthReport();
        //task.corpReserveDataSync();
        //task.corpReserveDataSync();
        //warningAnalyseService.warningOperationStorage(cal.getTime());