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
e7b9a292
Commit
e7b9a292
authored
Oct 15, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作流数量与对应的等待节点数量不对等BUG
parent
01dba869
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
RunRecordingAndJobTaskServiceImpl.java
...ce/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
+4
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
View file @
e7b9a292
...
...
@@ -242,6 +242,10 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
runRecordingService
.
updateRunRecordingById
(
runRecording
);
log
.
info
(
"-------修改运行实例表成功,查询对应等待实例{},的等待节点-------"
,
waitingRecord
);
List
<
WaitingTask
>
allByWaitId
=
taskService
.
findAllByWaitId
(
waitingRecord
.
getWaitId
());
if
(
waitingRecord
.
getFlowNodeCount
()
!=
allByWaitId
.
size
()){
log
.
info
(
"------发现工作流数量与对应的等待节点数量不对等,实例节点数量为{},查出的等待节点数量为{},本次补批或重跑操作跳过----------"
,
waitingRecord
.
getFlowNodeCount
(),
allByWaitId
.
size
());
return
;
}
log
.
info
(
"-------查询等待节点成功,查询对应的等待节点成功,开始保存对应的等待节点{}-------"
,
allByWaitId
);
List
<
Integer
>
ids
=
new
ArrayList
<>(
2
);
List
<
JobTask
>
jobTasks
=
allByWaitId
.
stream
().
map
(
waitingTask
->
{
...
...
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