| | |
| | | |
| | | @Transactional |
| | | // @Scheduled(cron = "0 0 23 * * ?") //每天晚上23点执行一次0 0 22,23 * * ? |
| | | @Scheduled(cron = "15 12 12,23 * * ?") //每天晚上22、23点执行一次 |
| | | @Scheduled(cron = "15 12 12,17,23 * * ?") //每天晚上22、23点执行一次 |
| | | // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟 |
| | | // @Scheduled(cron = "0 0/35 * * * ? ") // 分钟 |
| | | // @Scheduled(cron = "0/5 * * * * ?") |
| | |
| | | |
| | | @Transactional |
| | | // @Scheduled(cron = "0 0 23 * * ?") //每天晚上23点执行一次0 0 22,23 * * ? |
| | | @Scheduled(cron = "35 12 12,23 * * ?") //每天晚上22、23点执行一次 |
| | | @Scheduled(cron = "35 12 12,17,23 * * ?") //每天晚上22、23点执行一次 |
| | | // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟 |
| | | // @Scheduled(cron = "0 0/35 * * * ? ") // 分钟 |
| | | // @Scheduled(cron = "0/5 * * * * ?") |
| | |
| | | </select> |
| | | <!-- void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);--> |
| | | <update id="updateItemDangerReportStatusById"> |
| | | update tb_special_check_item_log |
| | | update tb_special_check_item_log set |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{id} and deleted = 0 |
| | |
| | | </select> |
| | | <!-- void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);--> |
| | | <update id="updateItemDangerReportStatusById" > |
| | | update tb_special_check_score_and_danger_log |
| | | update tb_special_check_score_and_danger_log set |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{id} and deleted = 0 |
| | |
| | | |
| | | <!-- void updateCheckTaskReportStatusById(HandlerCJReportParam handlerCJReportParam);--> |
| | | <update id="updateCheckTaskReportStatusById"> |
| | | update tb_special_check_task_log |
| | | update tb_special_check_task_log set |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{id} and deleted = 0 |