改为通过ID删除

pull/60/head
ziry 2018-12-29 16:32:17 +08:00
parent d22fa29b65
commit 8643dde074
1 changed files with 1 additions and 1 deletions

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());