Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
Project
Project
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
zlmy
zlmy-cloud
Commits
486fb0d4
Commit
486fb0d4
authored
Jul 18, 2025
by
Rensq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消危险作业优化
parent
86ebc504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
RuTaskServiceImpl.java
.../com/testor/module/wf/service/impl/RuTaskServiceImpl.java
+2
-1
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/wf/service/impl/RuTaskServiceImpl.java
View file @
486fb0d4
...
@@ -264,7 +264,8 @@ public class RuTaskServiceImpl implements RuTaskService {
...
@@ -264,7 +264,8 @@ public class RuTaskServiceImpl implements RuTaskService {
List
<
Task
>
taskList
=
taskService
.
createTaskQuery
().
processInstanceId
(
processInstanceId
).
list
();
List
<
Task
>
taskList
=
taskService
.
createTaskQuery
().
processInstanceId
(
processInstanceId
).
list
();
if
(
CollectionUtils
.
isEmpty
(
taskList
))
{
if
(
CollectionUtils
.
isEmpty
(
taskList
))
{
throw
new
ServiceException
(
"流程未启动或已执行完成,取消申请失败"
);
log
.
error
(
"流程未启动或已执行完成,取消申请失败"
);
return
;
}
}
ProcessInstance
processInstance
=
runtimeService
.
createProcessInstanceQuery
()
ProcessInstance
processInstance
=
runtimeService
.
createProcessInstanceQuery
()
...
...
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