|
@ -31,6 +31,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { |
|
|
ret.put("code", "200"); |
|
|
ret.put("code", "200"); |
|
|
JSONObject result = new JSONObject(); |
|
|
JSONObject result = new JSONObject(); |
|
|
result.put("responseCode", "0"); |
|
|
result.put("responseCode", "0"); |
|
|
|
|
|
ret.put("result", result); |
|
|
} |
|
|
} |
|
|
logger.debug("发送wcs任务完成,返回:"+ret.toString()); |
|
|
logger.debug("发送wcs任务完成,返回:"+ret.toString()); |
|
|
//返回码
|
|
|
//返回码
|
|
@ -67,6 +68,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { |
|
|
ret.put("code", "200"); |
|
|
ret.put("code", "200"); |
|
|
JSONObject result = new JSONObject(); |
|
|
JSONObject result = new JSONObject(); |
|
|
result.put("responseCode", "0"); |
|
|
result.put("responseCode", "0"); |
|
|
|
|
|
ret.put("result", result); |
|
|
} |
|
|
} |
|
|
logger.debug("发送wcs更改目标库位完成,返回:"+ret.toString()); |
|
|
logger.debug("发送wcs更改目标库位完成,返回:"+ret.toString()); |
|
|
String code = ret.optString("code",""); |
|
|
String code = ret.optString("code",""); |
|
@ -102,6 +104,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { |
|
|
ret.put("code", "200"); |
|
|
ret.put("code", "200"); |
|
|
JSONObject result = new JSONObject(); |
|
|
JSONObject result = new JSONObject(); |
|
|
result.put("responseCode", "0"); |
|
|
result.put("responseCode", "0"); |
|
|
|
|
|
ret.put("result", result); |
|
|
} |
|
|
} |
|
|
logger.debug("发送wcs取消任务完成,返回:"+ret.toString()); |
|
|
logger.debug("发送wcs取消任务完成,返回:"+ret.toString()); |
|
|
String code = ret.optString("code",""); |
|
|
String code = ret.optString("code",""); |
|
@ -141,7 +144,7 @@ public class WCSInterfaceServiceImpl implements WCSInterfaceService { |
|
|
ret.put("code", "200"); |
|
|
ret.put("code", "200"); |
|
|
JSONObject result = new JSONObject(); |
|
|
JSONObject result = new JSONObject(); |
|
|
result.put("responseCode", "0"); |
|
|
result.put("responseCode", "0"); |
|
|
srb.addJSON("result", result); |
|
|
ret.put("result", result); |
|
|
} |
|
|
} |
|
|
logger.debug("查询设备状态完成,返回:"+ret.toString()); |
|
|
logger.debug("查询设备状态完成,返回:"+ret.toString()); |
|
|
String code = ret.optString("code",""); |
|
|
String code = ret.optString("code",""); |
|
|