自动化立体仓库 - WMS系统
pang.jiabao
22 小时以前 4f75c44a7efcd1f26aae764c89b2ace8db796d3e
src/main/java/com/zy/asrs/service/impl/MesServiceImpl.java
@@ -273,7 +273,9 @@
        // 终点为空,计算接驳位
        BasStation basStation = null;
        if (Cools.isEmpty(mesOutApply.getNextStationId())) {
            List<BasStation> basStations = basStationService.selectList(new EntityWrapper<BasStation>().eq("loc_sts", "O"));
            // 1.连杆线,2.螺杆线
            int productionLine = mesOutApply.getStationId().startsWith("LL") ? 1 : 2;
            List<BasStation> basStations = basStationService.selectList(new EntityWrapper<BasStation>().eq("loc_sts", "O").eq("area_id",productionLine));
            if (basStations.isEmpty()) {
                mesReturn.setSuccess("2");
                mesReturn.setMessage("无空接驳位,请稍后再试!");