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
356cd45f
Commit
356cd45f
authored
Aug 18, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示记录
parent
55f0650f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ApiFlowServiceImpl.java
...c/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
+2
-1
RunRecordingAndJobTaskServiceImpl.java
...ce/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
+1
-0
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
View file @
356cd45f
...
@@ -1589,7 +1589,8 @@ public class ApiFlowServiceImpl implements ApiFlowService {
...
@@ -1589,7 +1589,8 @@ public class ApiFlowServiceImpl implements ApiFlowService {
List
<
String
>
runIdList
=
Arrays
.
asList
(
runIds
.
split
(
","
));
List
<
String
>
runIdList
=
Arrays
.
asList
(
runIds
.
split
(
","
));
runIdList
.
forEach
(
runId
->
{
runIdList
.
forEach
(
runId
->
{
List
<
RunRecording
>
runRecordList
=
runRecordingMapper
.
findStopRunCordByRunId
(
runId
);
List
<
RunRecording
>
runRecordList
=
runRecordingMapper
.
findStopRunCordByRunId
(
runId
);
ValidationUtil
.
isTrueValidation
(
null
==
runRecordList
||
runRecordList
.
size
()
==
0
,
"运行记录"
+
runId
+
"不存在暂停中运行记录!"
);
log
.
warn
(
"---------运行记录{},不存在暂停记录中!---"
,
runId
);
ValidationUtil
.
isTrueValidation
(
null
==
runRecordList
||
runRecordList
.
size
()
==
0
,
"该工作流不是暂停状态!"
);
runRecordingMapper
.
startByRunId
(
runId
);
runRecordingMapper
.
startByRunId
(
runId
);
jobTaskMapper
.
startByRunId
(
runId
);
jobTaskMapper
.
startByRunId
(
runId
);
});
});
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
View file @
356cd45f
...
@@ -91,6 +91,7 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
...
@@ -91,6 +91,7 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
jobTaskRunLog
.
setIsVirtual
(
jobTask
.
getIsVirtual
());
jobTaskRunLog
.
setIsVirtual
(
jobTask
.
getIsVirtual
());
jobTaskRunLog
.
setMapFlowId
(
jobTask
.
getMapFlowId
());
jobTaskRunLog
.
setMapFlowId
(
jobTask
.
getMapFlowId
());
jobTaskRunLog
.
setRunCode
(
NodeRunStatusPropertyEnum
.
RUN_ING
.
getCode
());
jobTaskRunLog
.
setRunCode
(
NodeRunStatusPropertyEnum
.
RUN_ING
.
getCode
());
jobTaskRunLog
.
setNodeDepend
(
jobTask
.
getNodeDepend
());
//目前都设置为执行机运行
//目前都设置为执行机运行
jobTaskRunLog
.
setRunType
(
"1"
);
jobTaskRunLog
.
setRunType
(
"1"
);
Date
thisDate
=
new
Date
();
Date
thisDate
=
new
Date
();
...
...
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