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
胡园园
yanxuan-qc-change-system
Commits
10a1f60b
Commit
10a1f60b
authored
Nov 24, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 取消工单节点错误
parent
113bb953
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+3
-3
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
10a1f60b
...
@@ -152,7 +152,7 @@ public class ChangeFlowBiz {
...
@@ -152,7 +152,7 @@ public class ChangeFlowBiz {
if
(
changeCommander
.
equals
(
uid
))
{
if
(
changeCommander
.
equals
(
uid
))
{
log
.
debug
(
"[createAndSubmit] changeCommander:{}, uid:{}"
,
changeCommander
,
uid
);
log
.
debug
(
"[createAndSubmit] changeCommander:{}, uid:{}"
,
changeCommander
,
uid
);
String
nextNodeId
=
submitFlow
(
flowId
,
flowDataDTO
,
uid
,
String
nextNodeId
=
submitFlow
(
flowId
,
flowDataDTO
,
uid
,
ChangeFlowEnum
.
CHANGE_FLOW_S
TAR
T
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
true
);
ChangeFlowEnum
.
CHANGE_FLOW_S
UBMI
T
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
true
);
if
(
null
==
nextNodeId
)
{
if
(
null
==
nextNodeId
)
{
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
SUBMIT_FLOW_ERROR
,
"首次提交节点失败"
);
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
SUBMIT_FLOW_ERROR
,
"首次提交节点失败"
);
}
}
...
@@ -529,7 +529,7 @@ public class ChangeFlowBiz {
...
@@ -529,7 +529,7 @@ public class ChangeFlowBiz {
// 查询工单有效性
// 查询工单有效性
ChangeRecord
changeRecord
=
getFlowInfo
(
flowId
);
ChangeRecord
changeRecord
=
getFlowInfo
(
flowId
);
// 检查工单节点
// 检查工单节点
this
.
checkNode
(
changeRecord
.
getFlowNode
(),
ChangeFlowEnum
.
CHANGE_FLOW_
EXE
.
getNodeId
());
this
.
checkNode
(
changeRecord
.
getFlowNode
(),
ChangeFlowEnum
.
CHANGE_FLOW_
SUBMIT
.
getNodeId
());
String
uid
=
RequestLocalBean
.
getUid
();
String
uid
=
RequestLocalBean
.
getUid
();
// todo:检查审核人
// todo:检查审核人
String
changeCommander
=
changeRecord
.
getChangeCommander
();
String
changeCommander
=
changeRecord
.
getChangeCommander
();
...
@@ -546,7 +546,7 @@ public class ChangeFlowBiz {
...
@@ -546,7 +546,7 @@ public class ChangeFlowBiz {
content
.
put
(
"updateTime"
,
System
.
currentTimeMillis
());
content
.
put
(
"updateTime"
,
System
.
currentTimeMillis
());
content
.
put
(
CommonConstants
.
FLOW_OPERATION_KEY
,
FlowOperationTypeEnum
.
REFUSE
.
getValue
());
content
.
put
(
CommonConstants
.
FLOW_OPERATION_KEY
,
FlowOperationTypeEnum
.
REFUSE
.
getValue
());
String
nextNodeId
=
this
.
submitFlow
(
String
.
valueOf
(
flowId
),
flowDataDTO
,
uid
,
String
nextNodeId
=
this
.
submitFlow
(
String
.
valueOf
(
flowId
),
flowDataDTO
,
uid
,
ChangeFlowEnum
.
CHANGE_FLOW_
EXE
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
false
);
ChangeFlowEnum
.
CHANGE_FLOW_
SUBMIT
.
getTopoId
(),
JSON
.
toJSONString
(
content
),
false
);
log
.
info
(
"[cancel] flowId:{}, nextNodeId:{}"
,
flowId
,
nextNodeId
);
log
.
info
(
"[cancel] flowId:{}, nextNodeId:{}"
,
flowId
,
nextNodeId
);
// 填充更新数据
// 填充更新数据
changeRecord
.
setFlowNode
(
nextNodeId
);
changeRecord
.
setFlowNode
(
nextNodeId
);
...
...
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