燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-01 2b75d84cabc3416d903f425239c713b65a98503f
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 {
@@ -52,7 +49,9 @@
    }
    private void test() {
        //task.createMonthReport();
        //task.corpReserveDataSync();
        //warningAnalyseService.warningOperationStorage(cal.getTime());
        /*Calendar cal1 = Calendar.getInstance();
@@ -64,10 +63,10 @@
        cal1.set(Calendar.MILLISECOND, 0);
        xlsReportService.createDayReport(cal1.getTime());*/
        Calendar cal2 = Calendar.getInstance();
        /*Calendar cal2 = Calendar.getInstance();
        cal2.set(Calendar.MONTH, 6);
        cal2.set(Calendar.DAY_OF_MONTH, 31);
        xlsReportService.createWeekReport(cal2.getTime());
        xlsReportService.createWeekReport(cal2.getTime());*/
        /*Calendar cal3 = Calendar.getInstance();
        cal3.set(Calendar.MONTH, 7);