@Override
    public ReturnT<String> stop(int id) {
        JobInfo jobInfo = jobInfoMapper.loadById(id);

        jobInfo.setTriggerStatus(0);
        jobInfo.setTriggerLastTime(0);
        jobInfo.setTriggerNextTime(0);

        jobInfo.setUpdateTime(new Date());
        jobInfoMapper.update(jobInfo);
        return ReturnT.SUCCESS;
    }
core job action for xxl-job

@author xuxueli 2016-5-28 15:30:33
larkmidtable-web/larkmt-admin/src/main/java/com/larkmt/cn/admin/service/impl/JobServiceImpl.java