Browse Source

Update WmsToAcsWebServiceImpl.java

master
张江玮 2 years ago
parent
commit
06cd929ce8
  1. 4
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/wsdl/WmsToAcsWebServiceImpl.java

4
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/wsdl/WmsToAcsWebServiceImpl.java

@ -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());

Loading…
Cancel
Save