Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit abc584df
authored
Jan 04, 2024
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/v2.0.1' into v2.0.1
2 parents
69461677
079d7b70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/assembler/KeHuLvChengAssembler.java
platform-process/src/main/java/cn/com/glsx/process/modules/assembler/KeHuLvChengAssembler.java
View file @
abc584d
...
@@ -199,9 +199,9 @@ public class KeHuLvChengAssembler {
...
@@ -199,9 +199,9 @@ public class KeHuLvChengAssembler {
* 封装sop触达节点
* 封装sop触达节点
*
*
* @param tplNodeProto 触达节点原型
* @param tplNodeProto 触达节点原型
* @param nodeId 节点id
* @param nodeId
节点id
* @param nodeParamDef 页面传参的节点 nodeParamDef 参数
* @param nodeParamDef 页面传参的节点 nodeParamDef 参数
* @param stageid 节点所属阶段的顺序
* @param stageid
节点所属阶段的顺序
* @return
* @return
*/
*/
private
SopTplNode
getNotifyNodeFromProto
(
SopTplNodeProto
tplNodeProto
,
Integer
nodeId
,
String
nodeParamDef
,
Integer
stageid
)
{
private
SopTplNode
getNotifyNodeFromProto
(
SopTplNodeProto
tplNodeProto
,
Integer
nodeId
,
String
nodeParamDef
,
Integer
stageid
)
{
...
@@ -209,6 +209,10 @@ public class KeHuLvChengAssembler {
...
@@ -209,6 +209,10 @@ public class KeHuLvChengAssembler {
notifyTplNode
.
setNodeId
(
nodeId
);
notifyTplNode
.
setNodeId
(
nodeId
);
notifyTplNode
.
setNodeKey
(
String
.
format
(
"%s%d"
,
tplNodeProto
.
getNodeKey
(),
notifyTplNode
.
getNodeId
()));
notifyTplNode
.
setNodeKey
(
String
.
format
(
"%s%d"
,
tplNodeProto
.
getNodeKey
(),
notifyTplNode
.
getNodeId
()));
String
stageName
=
JacksonUtil
.
getStrValueInJsonStrByPath
(
nodeParamDef
,
"stage/defaultValue"
);
String
dayStr
=
JacksonUtil
.
getStrValueInJsonStrByPath
(
nodeParamDef
,
"day/defaultValue"
);
notifyTplNode
.
setNodeName
(
String
.
format
(
"%s-第%s天-%s"
,
stageName
,
dayStr
,
notifyTplNode
.
getNodeName
()));
nodeParamDef
=
JacksonUtil
.
jsonStrDeepSub
(
notifyTplNode
.
getNodeParamDef
(),
nodeParamDef
);
nodeParamDef
=
JacksonUtil
.
jsonStrDeepSub
(
notifyTplNode
.
getNodeParamDef
(),
nodeParamDef
);
nodeParamDef
=
JacksonUtil
.
jsonStrDeepSub
(
nodeParamDef
,
String
.
format
(
"{\"stageid\": {\"defaultValue\": %d}}"
,
stageid
));
nodeParamDef
=
JacksonUtil
.
jsonStrDeepSub
(
nodeParamDef
,
String
.
format
(
"{\"stageid\": {\"defaultValue\": %d}}"
,
stageid
));
notifyTplNode
.
setNodeParamDef
(
nodeParamDef
);
notifyTplNode
.
setNodeParamDef
(
nodeParamDef
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment