| | |
| | | package com.yssh.config; |
| | | |
| | | import com.yssh.service.WarningAnalyseService; |
| | | import com.yssh.service.XlsExportService; |
| | | import com.yssh.utils.CacheUtils; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | |
| | | @Resource |
| | | ScheduleConfig task; |
| | | |
| | | @Resource |
| | | XlsExportService xlsService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) throws Exception { |
| | | CacheUtils.init(); |
| | |
| | | // 读取dat数据 |
| | | commonService.readDatData(); |
| | | |
| | | xlsService.createDayReport(); |
| | | |
| | | //test(); |
| | | logger.info("***************** 系统启动完毕 *****************" + "\n"); |
| | | } |