|
|
@ -141,7 +141,7 @@ public class NodeDataPushListener { |
|
|
|
.packageCode(centralStkInVO.getPackageCode()) |
|
|
|
.packageCode(centralStkInVO.getPackageCode()) |
|
|
|
.type("收货") |
|
|
|
.type("收货") |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
sendFactory(s, "mt.poc.ht_yc_noms.CentralStkIn", mengTianProperties.getCentralStkInUrl(), entity); |
|
|
|
sendFactory(s, mengTianProperties.getCentralStkInCode(), mengTianProperties.getCentralStkInUrl(), entity); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -207,7 +207,7 @@ public class NodeDataPushListener { |
|
|
|
.packageCode(packageCodes) |
|
|
|
.packageCode(packageCodes) |
|
|
|
.type("确认收货") |
|
|
|
.type("确认收货") |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
sendFactory(s, "mt.poc.ht_yc_noms.CentralStkInConfirm", mengTianProperties.getCentralStkInConfirmUrl(), entity); |
|
|
|
sendFactory(s, mengTianProperties.getCentralStkInConfirmCode(), mengTianProperties.getCentralStkInConfirmUrl(), entity); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -260,7 +260,7 @@ public class NodeDataPushListener { |
|
|
|
.type("签收") |
|
|
|
.type("签收") |
|
|
|
.sendTaskId(signForVO.getSendTaskId()) |
|
|
|
.sendTaskId(signForVO.getSendTaskId()) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
sendFactory(s, "mt.poc.ht_yc_noms.SignFor", mengTianProperties.getSignForUrl(), entity); |
|
|
|
sendFactory(s, mengTianProperties.getSignForCode(), mengTianProperties.getSignForUrl(), entity); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -320,7 +320,7 @@ public class NodeDataPushListener { |
|
|
|
.type("确认签收") |
|
|
|
.type("确认签收") |
|
|
|
.sendTaskId(confirmVO.getSendTaskId()) |
|
|
|
.sendTaskId(confirmVO.getSendTaskId()) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
sendFactory(s, "mt.poc.ht_yc_noms.SignForConfirm", mengTianProperties.getSignForConfirmUrl(), entity); |
|
|
|
sendFactory(s, mengTianProperties.getSignForConfirmCode(), mengTianProperties.getSignForConfirmUrl(), entity); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -339,7 +339,7 @@ public class NodeDataPushListener { |
|
|
|
String resBody = ""; |
|
|
|
String resBody = ""; |
|
|
|
String resultCode = ""; |
|
|
|
String resultCode = ""; |
|
|
|
try { |
|
|
|
try { |
|
|
|
if(mengTianProperties.getEnable()){ |
|
|
|
if (mengTianProperties.getEnable()) { |
|
|
|
HttpResponse execute = post.execute(); |
|
|
|
HttpResponse execute = post.execute(); |
|
|
|
resBody = execute.body(); |
|
|
|
resBody = execute.body(); |
|
|
|
JSONObject entries = JSONUtil.parseObj(resBody); |
|
|
|
JSONObject entries = JSONUtil.parseObj(resBody); |
|
|
|