|
@@ -148,6 +148,7 @@ public class SchedulerController extends BaseController {
|
|
|
@ApiImplicitParam(name = "environmentCode", value = "ENVIRONMENT_CODE", dataType = "Long"),
|
|
|
})
|
|
|
@PutMapping("/{id}")
|
|
|
+ @ResponseStatus(HttpStatus.OK)
|
|
|
@ApiException(UPDATE_SCHEDULE_ERROR)
|
|
|
@AccessLogAnnotation(ignoreRequestArgs = "loginUser")
|
|
|
public Result updateSchedule(@ApiIgnore @RequestAttribute(value = SESSION_USER) User loginUser,
|
|
@@ -330,11 +331,12 @@ public class SchedulerController extends BaseController {
|
|
|
@ApiImplicitParam(name = "warningType", value = "WARNING_TYPE", type = "WarningType"),
|
|
|
@ApiImplicitParam(name = "warningGroupId", value = "WARNING_GROUP_ID", dataType = "Int", example = "100"),
|
|
|
@ApiImplicitParam(name = "failureStrategy", value = "FAILURE_STRATEGY", type = "FailureStrategy"),
|
|
|
- @ApiImplicitParam(name = "workerGroupId", value = "WORKER_GROUP_ID", dataType = "Int", example = "100"),
|
|
|
+ @ApiImplicitParam(name = "workerGroup", value = "WORKER_GROUP", dataType = "String", example = "default"),
|
|
|
@ApiImplicitParam(name = "processInstancePriority", value = "PROCESS_INSTANCE_PRIORITY", type = "Priority"),
|
|
|
@ApiImplicitParam(name = "environmentCode", value = "ENVIRONMENT_CODE", dataType = "Long"),
|
|
|
})
|
|
|
- @PutMapping("/{code}")
|
|
|
+ @PutMapping("/update/{code}")
|
|
|
+ @ResponseStatus(HttpStatus.OK)
|
|
|
@ApiException(UPDATE_SCHEDULE_ERROR)
|
|
|
@AccessLogAnnotation(ignoreRequestArgs = "loginUser")
|
|
|
public Result updateScheduleByProcessDefinitionCode(@ApiIgnore @RequestAttribute(value = SESSION_USER) User loginUser,
|