diff --git a/lxservice/com/noblelift/imp/products/mes/service/ifs/wcs/WCSInterfaceServiceImpl.java b/lxservice/com/noblelift/imp/products/mes/service/ifs/wcs/WCSInterfaceServiceImpl.java index 389f7b9..8d3e367 100644 --- a/lxservice/com/noblelift/imp/products/mes/service/ifs/wcs/WCSInterfaceServiceImpl.java +++ b/lxservice/com/noblelift/imp/products/mes/service/ifs/wcs/WCSInterfaceServiceImpl.java @@ -31,6 +31,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { ret.put("code", "200"); JSONObject result = new JSONObject(); result.put("responseCode", "0"); + ret.put("result", result); } logger.debug("发送wcs任务完成,返回:"+ret.toString()); //返回码 @@ -67,6 +68,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { ret.put("code", "200"); JSONObject result = new JSONObject(); result.put("responseCode", "0"); + ret.put("result", result); } logger.debug("发送wcs更改目标库位完成,返回:"+ret.toString()); String code = ret.optString("code",""); @@ -102,6 +104,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { ret.put("code", "200"); JSONObject result = new JSONObject(); result.put("responseCode", "0"); + ret.put("result", result); } logger.debug("发送wcs取消任务完成,返回:"+ret.toString()); String code = ret.optString("code",""); @@ -141,7 +144,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { ret.put("code", "200"); JSONObject result = new JSONObject(); result.put("responseCode", "0"); - srb.addJSON("result", result); + ret.put("result", result); } logger.debug("查询设备状态完成,返回:"+ret.toString()); String code = ret.optString("code","");