Skip to content

Commit fb69c99

Browse files
Zzm0809Zzm0809
Zzm0809
andauthored
Fix copy catalog bug (#2649)
* Spotless Apply * fix-copy-catalog-bug --------- Co-authored-by: Zzm0809 <[email protected]>
1 parent 43bd826 commit fb69c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dinky-admin/src/main/java/org/dinky/service/impl/CatalogueServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ public boolean copyTask(Catalogue catalogue) {
291291
Task newTask = new Task();
292292
BeanUtil.copyProperties(oldTask, newTask);
293293
newTask.setId(null);
294+
newTask.setJobInstanceId(null);
294295
newTask.setType(oldTask.getType());
295296
// 设置复制后的作业名称为:原名称+自增序列
296297
size = size + 1;

0 commit comments

Comments
 (0)