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
4ee83049
Commit
4ee83049
authored
May 25, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分布式锁
parent
cafeabed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
ApiFlowServiceImpl.java
...c/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
+0
-2
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
View file @
4ee83049
...
@@ -529,7 +529,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
...
@@ -529,7 +529,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
Integer
waitId
=
waitingRecordMapper
.
insertSelective
(
waitingRecord
);
Integer
waitId
=
waitingRecordMapper
.
insertSelective
(
waitingRecord
);
//生成新的工作流实例
//生成新的工作流实例
newRunRecording
.
setIsAlarm
(
"1"
);
runRecordingMapper
.
saveRunRecording
(
newRunRecording
);
runRecordingMapper
.
saveRunRecording
(
newRunRecording
);
waitingTaskList
.
forEach
(
waiting
->
{
waitingTaskList
.
forEach
(
waiting
->
{
waiting
.
setWaitId
(
waitingRecord
.
getWaitId
());
waiting
.
setWaitId
(
waitingRecord
.
getWaitId
());
...
@@ -1187,7 +1186,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
...
@@ -1187,7 +1186,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
//设置实例
//设置实例
BeanUtils
.
copyProperties
(
waitingRecord
,
runRecording
);
BeanUtils
.
copyProperties
(
waitingRecord
,
runRecording
);
runRecording
.
setFlowStatus
(
"1"
);
runRecording
.
setFlowStatus
(
"1"
);
runRecording
.
setIsAlarm
(
"1"
);
runRecording
.
setTriggerTime
(
System
.
currentTimeMillis
());
runRecording
.
setTriggerTime
(
System
.
currentTimeMillis
());
runRecording
.
setWorkspaceId
(
flow
.
getWorkspaceId
());
runRecording
.
setWorkspaceId
(
flow
.
getWorkspaceId
());
...
...
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