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 3afa027a
authored
Jan 03, 2024
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
java节点代码缺陷修复
1 parent
1df8e304
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/sop/CustomerInfo.java
platform-process/src/main/java/cn/com/glsx/process/modules/sop/java/example/ControllerGetEntCusDemo.java
platform-process/src/main/java/cn/com/glsx/process/modules/sop/java/example/ControllerGetGrCusDemo.java
platform-process/src/main/java/cn/com/glsx/process/modules/sop/CustomerInfo.java
View file @
3afa027
...
...
@@ -93,4 +93,6 @@ public class CustomerInfo {
private
String
scrmOneId
;
private
String
carNumber
;
private
String
customerAvatarUrl
;
}
platform-process/src/main/java/cn/com/glsx/process/modules/sop/java/example/ControllerGetEntCusDemo.java
View file @
3afa027
...
...
@@ -40,9 +40,11 @@ public class ControllerGetEntCusDemo {
SopInst
sopInst
=
excustorParam
.
getSopInst
();
String
instParam
=
sopInst
.
getInstParam
();
try
{
String
merchantId
=
SopHelper
.
getValueFromJsonString
(
instParam
,
"merchantId"
);
String
instDefalutName
=
SopHelper
.
getValueFromJsonString
(
instParam
,
"stages"
,
"stage1"
,
"value"
);
multiValueMap
.
add
(
"merchantId"
,
sopInst
.
getGrantId
()+
""
);
multiValueMap
.
add
(
"merchantId"
,
merchantId
);
multiValueMap
.
add
(
"instId"
,
sopInst
.
getInstId
());
multiValueMap
.
add
(
"instDefalutName"
,
instDefalutName
);
System
.
out
.
println
(
"入参"
+
JSONObject
.
toJSONString
(
multiValueMap
));
...
...
platform-process/src/main/java/cn/com/glsx/process/modules/sop/java/example/ControllerGetGrCusDemo.java
View file @
3afa027
...
...
@@ -28,9 +28,11 @@ public class ControllerGetGrCusDemo {
SopInst
sopInst
=
excustorParam
.
getSopInst
();
String
instParam
=
sopInst
.
getInstParam
();
try
{
String
merchantId
=
SopHelper
.
getValueFromJsonString
(
instParam
,
"merchantId"
);
String
instDefalutName
=
SopHelper
.
getValueFromJsonString
(
instParam
,
"stages"
,
"stage1"
,
"value"
);
multiValueMap
.
add
(
"merchantId"
,
sopInst
.
getGrantId
()+
""
);
multiValueMap
.
add
(
"merchantId"
,
merchantId
);
multiValueMap
.
add
(
"instId"
,
sopInst
.
getInstId
());
multiValueMap
.
add
(
"instDefalutName"
,
instDefalutName
);
System
.
out
.
println
(
"入参"
+
JSONObject
.
toJSONString
(
multiValueMap
));
...
...
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