issue-52 #70
@ -165,9 +165,6 @@ public class ScheduleController {
|
||||
}
|
||||
|
||||
ServiceResult<AbstractSchedule> scheduleResult = taskScheduleService.scheduleNow(permissionResult.getResult());
|
||||
BasicTaskSchedule basicTaskSchedule = (BasicTaskSchedule) scheduleResult.getResult();
|
||||
System.err.println(basicTaskSchedule.getStartTime());
|
||||
//System.err.println(scheduleResult.getResult().toScheduleInfo());
|
||||
if(scheduleResult.getExitCode() == ServiceExitCode.ENTITY_ALREADY_EXIST) {
|
||||
return ResponseEntity.status(409).body(new SimpleStatusResponse("failed"));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user