Commit 8643dde0 by ziry

改为通过ID删除

parent d22fa29b
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment