| | |
| | | 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; |
| | |
| | | import com.yssh.service.DictRecordService; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Calendar; |
| | | |
| | | @Component |
| | | public class InitConfig implements ApplicationRunner { |
| | |
| | | @Resource |
| | | WarningAnalyseService warningAnalyseService; |
| | | |
| | | @Resource |
| | | ScheduleConfig task; |
| | | //@Resource |
| | | //ScheduleConfig task; |
| | | |
| | | @Resource |
| | | XlsReportService xlsReportService; |
| | | |
| | | @Resource |
| | | ScheduleConfig config; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) throws Exception { |
| | |
| | | } |
| | | |
| | | private void test() { |
| | | //config.createMonthReport(); |
| | | //config.corpReserveDataSync(); |
| | | //task.createMonthReport(); |
| | | //task.corpReserveDataSync(); |
| | | |
| | | //task.corpReserveDataSync(); |
| | | //warningAnalyseService.warningOperationStorage(cal.getTime()); |