mirror of https://gitee.com/y_project/RuoYi.git
commit
ab866e8a34
|
@ -91,7 +91,9 @@ public class SysJobController extends BaseController
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxResult changeStatus(SysJob job) throws SchedulerException
|
public AjaxResult changeStatus(SysJob job) throws SchedulerException
|
||||||
{
|
{
|
||||||
return toAjax(jobService.changeStatus(job));
|
Job newJob = jobService.selectJobById(job.getJobId());
|
||||||
|
newJob.setStatus(job.getStatus());
|
||||||
|
return toAjax(jobService.changeStatus(newJob));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue