| | |
| | | |
| | | import doumeemes.biz.system.SystemDictDataBiz; |
| | | import doumeemes.core.utils.DateUtil; |
| | | import doumeemes.service.business.BizLingyangService; |
| | | import doumeemes.service.business.PlansService; |
| | | import doumeemes.service.ext.*; |
| | | import doumeemes.service.system.SystemDictService; |
| | |
| | | public RabbitTemplate rabbitTemplate; |
| | | @Autowired |
| | | DepartmentExtService departmentExtService; |
| | | @Autowired |
| | | BizLingyangService bizLingyangService; |
| | | @Autowired |
| | | BarcodeParamExtService barcodeParamExtService; |
| | | @Autowired |
| | |
| | | departmentExtService.initCompnayCodes(); |
| | | System.out.println("定时加载数据code缓存信息--------end------"); |
| | | } |
| | | /** |
| | | * 每天定时统计羚羊数据信息 |
| | | * @throws Exception |
| | | */ |
| | | // @Scheduled(cron="0 59 23 * * ?") |
| | | @Scheduled(fixedDelay = 1000 * 60 * 60 * 1) |
| | | public void syncLingData() throws Exception { |
| | | System.out.println("每天定时统计羚羊数据信息--------Begin------"); |
| | | //TODO--------------每天定时统计羚羊数据信息------------ |
| | | bizLingyangService.syncLingData(); |
| | | System.out.println("每天定时统计羚羊数据信息--------end------"); |
| | | } |
| | | |
| | | /** |
| | | * 每天凌晨定点关闭不能关闭的计划 |