改为通过ID删除

This commit is contained in:
ziry
2018-12-29 16:32:17 +08:00
parent d22fa29b65
commit 8643dde074

View File

@ -116,7 +116,7 @@ public class SysJobServiceImpl implements ISysJobService
@Override
public int deleteJob(SysJob job)
{
int rows = jobMapper.deleteJobById(job);
int rows = jobMapper.deleteJobById(job.getJobId());
if (rows > 0)
{
ScheduleUtils.deleteScheduleJob(scheduler, job.getJobId());