燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-08-10 ba0944e4d2877bf9488734945004a3776cfc3e76
src/main/java/com/yssh/config/InitConfig.java
@@ -47,25 +47,24 @@
        // 读取dat数据
        commonService.readDatData();
        // xlsReportService.createDayReport();
        // xlsReportService.createWeekReport();
        // xlsReportService.createMonthReport();
        //test();
        logger.info("***************** 系统启动完毕 *****************" + "\n");
        test();
    }
    private void test() {
        //task.corpReserveDataSync();
        Calendar calendar = Calendar.getInstance();
        calendar.set(Calendar.MONTH, 5);
        calendar.set(Calendar.DAY_OF_MONTH, 8);
        calendar.set(Calendar.HOUR_OF_DAY, 16);
        calendar.set(Calendar.MINUTE, 0);
        calendar.set(Calendar.SECOND, 0);
        calendar.set(Calendar.MILLISECOND, 0);
        //warningAnalyseService.warningOperationStorage(calendar.getTime());
        Calendar cal = Calendar.getInstance();
        cal.set(Calendar.MONTH, 6);
        cal.set(Calendar.DAY_OF_MONTH, 25);
        cal.set(Calendar.HOUR_OF_DAY, 14);
        cal.set(Calendar.MINUTE, 0);
        cal.set(Calendar.SECOND, 0);
        cal.set(Calendar.MILLISECOND, 0);
        xlsReportService.createDayReport(cal.getTime());
        // xlsReportService.createWeekReport();
        // xlsReportService.createMonthReport();
    }
}