Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
王飞
vehicle-quality-review
Commits
9d16ac51
Commit
9d16ac51
authored
Mar 08, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开始任务
parent
0e92455c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Task.java
quality-review/src/main/java/com/ruoyi/domain/Task.java
+3
-4
TaskStateAdapter.java
...rc/main/java/com/ruoyi/service/impl/TaskStateAdapter.java
+3
-1
No files found.
quality-review/src/main/java/com/ruoyi/domain/Task.java
View file @
9d16ac51
...
...
@@ -173,11 +173,10 @@ public class Task {
public
String
getNextNode
()
{
String
[]
split
=
taskList
.
split
(
","
);
if
(
pointer
+
1
>
maxPointer
)
{
return
null
;
}
else
{
return
split
[
pointer
+
1
];
if
(
pointer
<
split
.
length
)
{
return
split
[
pointer
];
}
return
null
;
}
public
void
setSystemReviewTaskIdNull
(){
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TaskStateAdapter.java
View file @
9d16ac51
...
...
@@ -39,7 +39,9 @@ public abstract class TaskStateAdapter implements TaskState {
throw
new
ServiceException
(
"已没有可执行的子任务节点"
,
HttpStatus
.
ERROR
);
}
task
.
setPointer
(
task
.
getPointer
()
+
1
);
if
(
task
.
getPointer
()
+
1
<=
task
.
getMaxPointer
()
)
{
task
.
setPointer
(
task
.
getPointer
()
+
1
);
}
taskService
.
updateById
(
task
);
}
...
...
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