自动化立体仓库 - WMS系统
zyh
2 天以前 243ae8456cf61be6d0f23c6711a09ab342a21e26
将LJ产线的地址改为/slider/。。。的地址
1个文件已修改
23 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/service/impl/MesServiceImpl.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/MesServiceImpl.java
@@ -859,7 +859,17 @@
     */
    public int applyInStation(TransParent apply) {
        String url = MES_URL + (apply.getProductLineId().equals("LL") || apply.getProductLineId().equals("LJ") ? "AGVTransportPalletNotice" : "Aprs/AGVTransportPalletNotice");
        String path;
        if ("LL".equals(apply.getProductLineId())) {
            path = "AGVTransportPalletNotice";
        } else if ("LJ".equals(apply.getProductLineId())) {
            path = "SliderAGVTransportPalletNotice";
        } else {
            path = "Aprs/AGVTransportPalletNotice";
        }
        String url = MES_URL + path;
//        String url = MES_URL + (apply.getProductLineId().equals("LL") || apply.getProductLineId().equals("LJ") ? "AGVTransportPalletNotice" : "Aprs/AGVTransportPalletNotice");
        String response = RcsServiceImpl.sendPost(url, JSONObject.toJSONString(apply));
        if (!StringUtils.isEmpty(response) && response.contains("Success")){
            MesReturn mesReturn = JSONObject.parseObject(response, MesReturn.class);
@@ -970,8 +980,17 @@
     * @return
     */
    public int outStation(TransParent apply) {
        String path;
        if ("LL".equals(apply.getProductLineId())) {
            path = "AGVTransportPalletNotice";
        } else if ("LJ".equals(apply.getProductLineId())) {
            path = "SliderAGVTransportPalletNotice";
        } else {
            path = "Aprs/AGVTransportPalletNotice";
        }
        String url = MES_URL + path;
        String url = MES_URL + (apply.getProductLineId().equals("LL") || apply.getProductLineId().equals("LJ") ? "AGVDepartureCompleted" : "Aprs/AGVDepartureCompleted");
//        String url = MES_URL + (apply.getProductLineId().equals("LL") || apply.getProductLineId().equals("LJ") ? "AGVDepartureCompleted" : "Aprs/AGVDepartureCompleted");
        String response = RcsServiceImpl.sendPost(url, JSONObject.toJSONString(apply));
        if (!StringUtils.isEmpty(response) && response.contains("Success")){
            MesReturn mesReturn = JSONObject.parseObject(response, MesReturn.class);