自动化立体仓库 - WMS系统
ZY
2024-09-26 fa010ce6b4ae79abd73dc29031649f0597b87939
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -696,7 +696,7 @@
                    .setJson(JSONObject.toJSONString(requestParam))
                    .build()
                    .doPost();
            log.info("请求返回报文:{}", response);
            log.info("入库单上报请求返回报文:{}", response);
            response = response.replace("\\", "");
            response = response.substring(1, response.length() - 1);
@@ -704,7 +704,7 @@
            JSONArray jsonArray = (JSONArray) jsonObject.get("");
            JSONObject jsonResult = (JSONObject) jsonArray.get(0);
            if (Cools.isEmpty(jsonResult.get("ErrorCode"))) {
                throw new CoolException(jsonResult.get("errorMsg").toString());
                throw new CoolException(jsonResult.get("ErrorMsg").toString());
            }
            int code = Integer.parseInt(jsonResult.get("ErrorCode").toString());