@Override
    public ReturnT<String> remove(int id) {
        JobInfo xxlJobInfo = jobInfoMapper.loadById(id);
        if (xxlJobInfo == null) {
            return ReturnT.SUCCESS;
        }

        jobInfoMapper.delete(id);
        jobLogMapper.delete(id);
        jobLogGlueMapper.deleteByJobId(id);
        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