void deleteJob(String id) { JobKey jobKey = createJobKey(id); try { if (scheduler.checkExists(jobKey)) { scheduler.deleteJob(jobKey); } } catch (SchedulerException e) { throw new BusinessException("更新任务失败", e, 500); } }