Commit 3afa027a by zhouhaibao

java节点代码缺陷修复

1 parent 1df8e304
...@@ -93,4 +93,6 @@ public class CustomerInfo { ...@@ -93,4 +93,6 @@ public class CustomerInfo {
private String scrmOneId; private String scrmOneId;
private String carNumber; private String carNumber;
private String customerAvatarUrl;
} }
...@@ -40,9 +40,11 @@ public class ControllerGetEntCusDemo { ...@@ -40,9 +40,11 @@ public class ControllerGetEntCusDemo {
SopInst sopInst = excustorParam.getSopInst(); SopInst sopInst = excustorParam.getSopInst();
String instParam = sopInst.getInstParam(); String instParam = sopInst.getInstParam();
try { try {
String merchantId = SopHelper.getValueFromJsonString(instParam,
"merchantId");
String instDefalutName = SopHelper.getValueFromJsonString(instParam, "stages", "stage1", String instDefalutName = SopHelper.getValueFromJsonString(instParam, "stages", "stage1",
"value"); "value");
multiValueMap.add("merchantId",sopInst.getGrantId()+""); multiValueMap.add("merchantId",merchantId);
multiValueMap.add("instId",sopInst.getInstId()); multiValueMap.add("instId",sopInst.getInstId());
multiValueMap.add("instDefalutName",instDefalutName); multiValueMap.add("instDefalutName",instDefalutName);
System.out.println("入参" + JSONObject.toJSONString(multiValueMap)); System.out.println("入参" + JSONObject.toJSONString(multiValueMap));
......
...@@ -28,9 +28,11 @@ public class ControllerGetGrCusDemo { ...@@ -28,9 +28,11 @@ public class ControllerGetGrCusDemo {
SopInst sopInst = excustorParam.getSopInst(); SopInst sopInst = excustorParam.getSopInst();
String instParam = sopInst.getInstParam(); String instParam = sopInst.getInstParam();
try { try {
String merchantId = SopHelper.getValueFromJsonString(instParam,
"merchantId");
String instDefalutName = SopHelper.getValueFromJsonString(instParam, "stages", "stage1", String instDefalutName = SopHelper.getValueFromJsonString(instParam, "stages", "stage1",
"value"); "value");
multiValueMap.add("merchantId",sopInst.getGrantId()+""); multiValueMap.add("merchantId",merchantId);
multiValueMap.add("instId",sopInst.getInstId()); multiValueMap.add("instId",sopInst.getInstId());
multiValueMap.add("instDefalutName",instDefalutName); multiValueMap.add("instDefalutName",instDefalutName);
System.out.println("入参" + JSONObject.toJSONString(multiValueMap)); System.out.println("入参" + JSONObject.toJSONString(multiValueMap));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!