Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
90bc983c
Commit
90bc983c
authored
Dec 04, 2025
by
王志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: 修复子单自动跳过审批时节点未前进的问题
parent
a678e98a
Pipeline
#86536
passed with stages
in 1 minute 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
ChangeSubFlowBiz.java
...netease/mail/yanxuan/change/biz/biz/ChangeSubFlowBiz.java
+8
-1
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeSubFlowBiz.java
View file @
90bc983c
...
@@ -252,7 +252,14 @@ public class ChangeSubFlowBiz {
...
@@ -252,7 +252,14 @@ public class ChangeSubFlowBiz {
}
else
{
}
else
{
// 不需要审批,自动提交到下一节点(审批人保持为行动人自己)
// 不需要审批,自动提交到下一节点(审批人保持为行动人自己)
log
.
info
(
"[CHANGE_SUB_FLOW_START] 部门[{}]不需要审批,自动跳过审批"
,
expectedDepartment
);
log
.
info
(
"[CHANGE_SUB_FLOW_START] 部门[{}]不需要审批,自动跳过审批"
,
expectedDepartment
);
String
autoNextNodeId
=
flowService
.
submitFlow
(
subFlowId
,
flowDataDTO
,
uid
,
// 重新查询最新的flowDataDTO,因为第一次submitFlow已经改变了flow状态
FlowDataDTO
latestFlowDataDTO
=
flowService
.
flowDetail
(
subFlowId
);
if
(
latestFlowDataDTO
==
null
)
{
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
DETAIL_FLOW_ERROR
,
"子流程工单查询错误,不存在"
);
}
String
autoNextNodeId
=
flowService
.
submitFlow
(
subFlowId
,
latestFlowDataDTO
,
uid
,
ChangeFlowEnum
.
CHANGE_SUB_FLOW
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
true
,
ChangeFlowEnum
.
CHANGE_SUB_FLOW
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
true
,
FlowxOperationEnum
.
SUBMIT
.
getName
(),
"自动审批通过"
,
subFlowRecord
.
getCreateTime
());
FlowxOperationEnum
.
SUBMIT
.
getName
(),
"自动审批通过"
,
subFlowRecord
.
getCreateTime
());
subFlowRecord
.
setSubFlowNode
(
autoNextNodeId
);
subFlowRecord
.
setSubFlowNode
(
autoNextNodeId
);
...
...
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