自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-04-21 2e282edbf809fc1d94ff420c58036733c0a542b7
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -291,7 +291,7 @@
                }
                String response;
                try {
                    response  = new HttpHandler.Builder()
                    response = new HttpHandler.Builder()
                            .setUri(MesConstant.URL)
                            .setPath(MesConstant.PACK_DOWN_URL)
                            .setJson(JSON.toJSONString(mesCombParam))
@@ -300,7 +300,7 @@
                    JSONObject jsonObject = JSON.parseObject(response);
                    if (jsonObject.getInteger("code").equals(200)) {
                        log.info("请求接口成功!!!");
                    } else  if (jsonObject.getInteger("code").equals(500)) {
                    } else if (jsonObject.getInteger("code").equals(500)) {
                        log.error("请求接口失败!!!url:{};request:{};response:{}", MesConstant.URL+MesConstant.PACK_DOWN_URL, JSON.toJSONString(mesCombParam), response);
                        throw new CoolException(jsonObject.getString("msg"));
                    } else {
@@ -309,8 +309,7 @@
                    }
                } catch (Exception e) {
                    log.error("fail", e);
                    e.printStackTrace();
                    throw new CoolException("上报mes系统失败");
                    throw new CoolException(e.getMessage());
                }
            }