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 079d7b70
authored
Jan 04, 2024
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
bb3a92ba
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 @
079d7b7
...
...
@@ -199,9 +199,9 @@ public class KeHuLvChengAssembler {
* 封装sop触达节点
*
* @param tplNodeProto 触达节点原型
* @param nodeId 节点id
* @param nodeId
节点id
* @param nodeParamDef 页面传参的节点 nodeParamDef 参数
* @param stageid 节点所属阶段的顺序
* @param stageid
节点所属阶段的顺序
* @return
*/
private
SopTplNode
getNotifyNodeFromProto
(
SopTplNodeProto
tplNodeProto
,
Integer
nodeId
,
String
nodeParamDef
,
Integer
stageid
)
{
...
...
@@ -209,6 +209,10 @@ public class KeHuLvChengAssembler {
notifyTplNode
.
setNodeId
(
nodeId
);
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
(
nodeParamDef
,
String
.
format
(
"{\"stageid\": {\"defaultValue\": %d}}"
,
stageid
));
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