Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
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
liyuan
byit-myth-job
Commits
df711da8
Commit
df711da8
authored
Jun 22, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决任务实例重复BUG
parent
65ae6a22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
RunRecordingAndLogServiceImpl.java
...ervice/mapservice/impl/RunRecordingAndLogServiceImpl.java
+7
-1
JobUtils.java
...xecutor-plugin/src/main/java/com/byit/utils/JobUtils.java
+1
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/RunRecordingAndLogServiceImpl.java
View file @
df711da8
...
...
@@ -146,7 +146,13 @@ public class RunRecordingAndLogServiceImpl implements RunRecordingAndLogService,
}
catch
(
UnknownHostException
e
)
{
e
.
printStackTrace
();
}
runRecordingService
.
saveRunRecording
(
virtualRunRecording
);
RunRecording
runRecordingByFlowIdAndRunId
=
runRecordingService
.
findRunRecordingByFlowIdAndRunId
(
mapFlowId
,
virtualTask
.
getRunId
());
if
(
runRecordingByFlowIdAndRunId
==
null
){
runRecordingService
.
saveRunRecording
(
virtualRunRecording
);
}
else
{
runRecordingService
.
updateRunRecordingById
(
virtualRunRecording
);
}
});
//删除task里面的数据
...
...
byit-myth-executor/myth-executor-plugin/src/main/java/com/byit/utils/JobUtils.java
View file @
df711da8
...
...
@@ -575,7 +575,7 @@ public class JobUtils {
}
/**
* 功能描述
修改
任务
* 功能描述
删除
任务
* @author gml
* @date 2020-04-14 16:50
* @param jobName
...
...
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