自动化立体仓库 - WMS系统
#
zc
2025-06-27 1e9434892fd87b5a99176fdfecc2cb63ddb5ab25
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -89,10 +89,10 @@
    @Resource
    private BasDevpMapper basDevpMapper;
    @Value("mes.url")
    @Value("${mes.url}")
    private String url;
    @Value("mes.pakin")
    @Value("${mes.code}")
    private String code;
    @Override
@@ -388,7 +388,7 @@
                }
                elem.setTemp1(codeDataParam.getQuality());
                elem.setAnfme(codeDataParam.getQty());
                elem.setBatch(codeDataParam.getBatchNum());
                //elem.setBatch(codeDataParam.getBatchNum());
                elem.setThreeCode(codeDataParam.getBarcode());
                elem.setMatnr(codeDataParam.getProductionCode());
                elem.setMaktx(codeDataParam.getProductionName());
@@ -475,9 +475,13 @@
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        log.info("getData:{}",response);
        MesResponse jsonObject = JSON.parseObject(response, MesResponse.class);
        if (jsonObject.getCode().equals(200)) {
            return JSON.parseArray(jsonObject.getData(), CodeDataParam.class);
            JSONObject jsonObject1 = JSON.parseObject(jsonObject.getData());
            if (jsonObject1.getString("barcodeList")!=null){
                return JSON.parseArray(jsonObject1.getString("barcodeList"), CodeDataParam.class);
            }
        }
        throw new CoolException(jsonObject.getMessage());
    }