Skip to content

Commit

Permalink
Fix copy catalog bug (#2649)
Browse files Browse the repository at this point in the history
* Spotless Apply

* fix-copy-catalog-bug

---------

Co-authored-by: Zzm0809 <[email protected]>
  • Loading branch information
Zzm0809 and Zzm0809 authored Dec 14, 2023
1 parent 43bd826 commit fb69c99
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ public boolean copyTask(Catalogue catalogue) {
Task newTask = new Task();
BeanUtil.copyProperties(oldTask, newTask);
newTask.setId(null);
newTask.setJobInstanceId(null);
newTask.setType(oldTask.getType());
// 设置复制后的作业名称为:原名称+自增序列
size = size + 1;
Expand Down

0 comments on commit fb69c99

Please sign in to comment.