From abed514b30bed851919b93c47c6fd15c8c83d17c Mon Sep 17 00:00:00 2001 From: "DESKTOP-5DIJMF9\\admin" <2388969634@qq.com> Date: Wed, 27 Nov 2024 13:23:23 +0800 Subject: [PATCH] =?UTF-8?q?opt:wcs=E6=A8=A1=E6=8B=9F=E4=B8=8B=E5=8F=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mes/service/ifs/wcs/WCSInterfaceServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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","");