Update WmsToAcsWebServiceImpl.java

This commit is contained in:
张江玮
2023-04-08 14:59:33 +08:00
parent c13f29d14d
commit 06cd929ce8

View File

@@ -46,13 +46,13 @@ public class WmsToAcsWebServiceImpl implements WmsToAcsWebService {
} }
try { try {
wmsToAcsService.cancelFromWms(jsonStr); wmsToAcsService.cancelFromWms(jsonStr);
result.put("REQCODE", json.getString("REQCODE")); result.put("REQCODE", json.getString("TASKCODE"));
result.put("REPLYTIME", DateUtil.now()); result.put("REPLYTIME", DateUtil.now());
result.put("RTCODE", "0"); result.put("RTCODE", "0");
result.put("RTMSG", "success"); result.put("RTMSG", "success");
return result.toJSONString(); return result.toJSONString();
} catch (Exception e) { } catch (Exception e) {
result.put("REQCODE", json.getString("REQCODE")); result.put("REQCODE", json.getString("TASKCODE"));
result.put("REPLYTIME", DateUtil.now()); result.put("REPLYTIME", DateUtil.now());
result.put("RTCODE", "1"); result.put("RTCODE", "1");
result.put("RTMSG", e.getMessage()); result.put("RTMSG", e.getMessage());