Unverified Commit fb69c991 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

Fix copy catalog bug (#2649)

* Spotless Apply * fix-copy-catalog-bug --------- Co-authored-by: 's avatarZzm0809 <Zzm0809@users.noreply.github.com>
parent 43bd8265
......@@ -291,6 +291,7 @@ public class CatalogueServiceImpl extends SuperServiceImpl<CatalogueMapper, Cata
Task newTask = new Task();
BeanUtil.copyProperties(oldTask, newTask);
newTask.setId(null);
newTask.setJobInstanceId(null);
newTask.setType(oldTask.getType());
// 设置复制后的作业名称为:原名称+自增序列
size = size + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment