林颖晨 2 years ago
parent 2b73f2af5a
commit fd57a78959
  1. 6
      psdc-business/src/main/java/com/psdc/service/impl/PsdcTimerServiceImpl.java

@ -269,10 +269,6 @@ public class PsdcTimerServiceImpl implements IPsdcTimerService {
job.setJobId(psdcTimer.getJobId().longValue()); job.setJobId(psdcTimer.getJobId().longValue());
job.setJobGroup("psdc"); job.setJobGroup("psdc");
int i = jobService.deleteJob(job); int i = jobService.deleteJob(job);
if (i > 0) { return psdcTimerMapper.deleteById(timerId);
return psdcTimerMapper.deleteById(timerId);
} else {
throw new ServiceException("删除定时任务失败");
}
} }
} }
Loading…
Cancel
Save