Skip to content

Commit

Permalink
Merge pull request #3252 from jsonwan/github_fix/create_cron
Browse files Browse the repository at this point in the history
fix: 创建定时任务参数校验异常 #3245
  • Loading branch information
wangyu096 authored Oct 17, 2024
2 parents e8f7aa3 + cf59e23 commit d1760d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ InternalResponse<ServiceTaskExecuteResult> executeTask(
* @throws TaskExecuteAuthFailedException 鉴权失败抛出异常
*/
void authExecuteTask(
long appId, long taskId, long cronTaskId, String cronName,
long appId, long taskId, Long cronTaskId, String cronName,
List<ServiceTaskVariable> variableList, String operator
) throws TaskExecuteAuthFailedException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public InternalResponse<ServiceTaskExecuteResult> executeTask(long appId, long t
public void authExecuteTask(
long appId,
long taskId,
long cronTaskId,
Long cronTaskId,
String cronName,
List<ServiceTaskVariable> variableList,
String operator
Expand All @@ -115,7 +115,6 @@ public void authExecuteTask(
request.setAppId(appId);
request.setOperator(operator);
request.setPlanId(taskId);
request.setCronTaskId(cronTaskId);
request.setTaskName(cronName);
request.setTaskVariables(variableList);
request.setStartupMode(3);
Expand Down

0 comments on commit d1760d4

Please sign in to comment.