| | |
| | | @Transactional
|
| | | // @Scheduled(cron = "0 0 23 * * ?") //每天晚上23点执行一次0 0 22,23 * * ?
|
| | | // @Scheduled(cron = "0 0 22,23 * * ?") //每天晚上22、23点执行一次
|
| | | @Scheduled(cron = "0 0/20 * * * ? ") // 分钟
|
| | | @Scheduled(cron = "0 0/10 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0/30 * * * * ?")
|
| | | public void execReportDateSchedule() throws UnsupportedEncodingException {
|
| | | logger.info("【####】上报数据开始...");
|
| | |
| | |
|
| | | @Transactional
|
| | | // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0/30 * * * * ?") // 30秒
|
| | | // @Scheduled(cron = "0/10 * * * * ?") // 30秒
|
| | | @Scheduled(cron = "0 0/25 * * * ? ") // 分钟
|
| | | public void searchReportDate(){
|
| | |
|
| | |
| | | CJDangerInfo.setUpdateBy(updateUser.getUserName());
|
| | | CJDangerInfo.setUpdateDate(hiddenDanger.getUpdateTime());
|
| | | }
|
| | | // todo 2024-07-01 需要检查
|
| | | CJDangerInfo.setHazardCategory("0");
|
| | | if (dangerManage.getId() <= 383){
|
| | | PreventTaskType taskTypeInfo = taskTypeService.getInfoByTaskId(dangerManage.getId());
|
| | |
| | | // @Scheduled(cron = "0 0 23 * * ?") //每天晚上23点执行一次0 0 22,23 * * ?
|
| | | // @Scheduled(cron = "0 0 22,23 * * ?") //每天晚上22、23点执行一次
|
| | | // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟
|
| | | @Scheduled(cron = "0 0/35 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0 0/35 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0/5 * * * * ?")
|
| | | public void execReportDateSchedule() throws UnsupportedEncodingException {
|
| | | logger.info("【####】上报数据开始...");
|
| | |
| | | // @Scheduled(cron = "0 0 23 * * ?") //每天晚上23点执行一次0 0 22,23 * * ?
|
| | | // @Scheduled(cron = "0 0 22,23 * * ?") //每天晚上22、23点执行一次
|
| | | // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟
|
| | | @Scheduled(cron = "0 0/35 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0 0/35 * * * ? ") // 分钟
|
| | | // @Scheduled(cron = "0/5 * * * * ?")
|
| | | public void execReportDateSchedule() throws UnsupportedEncodingException {
|
| | | logger.info("【####】上报数据开始...");
|