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
7b7ba380
Commit
7b7ba380
authored
Dec 15, 2025
by
王志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 自动审批提交,topo工单流程改为参数提交
parent
7b37439c
Pipeline
#86890
passed with stages
in 1 minute 42 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+5
-5
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
7b7ba380
...
...
@@ -428,12 +428,12 @@ public class ChangeFlowBiz {
*/
private
void
submitToExecutionNode
(
String
flowId
,
FlowDataDTO
flowDataDTO
,
String
uid
,
Map
<
String
,
Object
>
content
,
ChangeRecord
changeRecord
)
{
log
.
debug
(
"[submitToExecutionNode] flowId:{}, uid:{}"
,
flowId
,
uid
);
String
nextNodeId
=
flowService
.
submitFlow
(
flowId
,
flowDataDTO
,
uid
,
ChangeFlowEnum
.
NEW_CHANGE_FLOW_START
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
true
,
// 使用 paramMap 方式提交,type=1 表示审批通过/前进到下一节点
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
"type"
,
FlowTransitionType
.
TYPE_APPROVED
);
String
nextNodeId
=
flowService
.
submitFlowWithParamMap
(
flowId
,
flowDataDTO
,
uid
,
ChangeFlowEnum
.
NEW_CHANGE_FLOW_START
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
paramMap
,
FlowxOperationEnum
.
SUBMIT
.
getName
(),
"提交工单"
,
changeRecord
.
getCreateTime
());
if
(
null
==
nextNodeId
)
{
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
SUBMIT_FLOW_ERROR
,
"首次提交节点失败"
);
}
// 更新节点id,使用返回的节点ID
changeRecord
.
setFlowNode
(
nextNodeId
);
changeRecord
.
setState
(
ChangeStatusEnum
.
WAIT_CONFIRM_CHANGE_PLAN
.
getStatus
());
...
...
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