Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
fb69c991
Unverified
Commit
fb69c991
authored
Dec 14, 2023
by
Zzm0809
Committed by
GitHub
Dec 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix copy catalog bug (#2649)
* Spotless Apply * fix-copy-catalog-bug --------- Co-authored-by:
Zzm0809
<
Zzm0809@users.noreply.github.com
>
parent
43bd8265
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
CatalogueServiceImpl.java
...ain/java/org/dinky/service/impl/CatalogueServiceImpl.java
+1
-0
No files found.
dinky-admin/src/main/java/org/dinky/service/impl/CatalogueServiceImpl.java
View file @
fb69c991
...
@@ -291,6 +291,7 @@ public class CatalogueServiceImpl extends SuperServiceImpl<CatalogueMapper, Cata
...
@@ -291,6 +291,7 @@ public class CatalogueServiceImpl extends SuperServiceImpl<CatalogueMapper, Cata
Task
newTask
=
new
Task
();
Task
newTask
=
new
Task
();
BeanUtil
.
copyProperties
(
oldTask
,
newTask
);
BeanUtil
.
copyProperties
(
oldTask
,
newTask
);
newTask
.
setId
(
null
);
newTask
.
setId
(
null
);
newTask
.
setJobInstanceId
(
null
);
newTask
.
setType
(
oldTask
.
getType
());
newTask
.
setType
(
oldTask
.
getType
());
// 设置复制后的作业名称为:原名称+自增序列
// 设置复制后的作业名称为:原名称+自增序列
size
=
size
+
1
;
size
=
size
+
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment