|
@@ -65,11 +65,11 @@ public class JobController extends ControllerSupport {
|
|
|
private ScheduleJob getEnableScheduleJob(String jobName) {
|
|
|
ScheduleJobEntity jobEntity = scheduleJobEntityRepo.findByJobName(jobName);
|
|
|
if (null == jobEntity) {
|
|
|
- throw new StatusException("T-100001", "任务不存在");
|
|
|
+ throw new StatusException("100001", "任务不存在");
|
|
|
}
|
|
|
|
|
|
if (!jobEntity.getEnable()) {
|
|
|
- throw new StatusException("T-100002", "任务被禁用");
|
|
|
+ throw new StatusException("100002", "任务被禁用");
|
|
|
}
|
|
|
|
|
|
ScheduleJob scheduleJob = new ScheduleJob();
|