自动化立体仓库 - WMS系统
zhangc
2024-12-12 5dc8a9f9aba3310fd21cad9509635bb7ec2f007f
src/main/java/com/zy/asrs/service/impl/AgvBasDevpServiceImpl.java
@@ -49,7 +49,7 @@
        //待包装成品存储区出库接驳位
        this.insertBatch(getConnectionBasDevpList("DO",8,2,false,(short)1));
        //原材料入库接驳位
        this.insertBatch(getConnectionBasDevpList("YI",15,2,true,(short)2));
        this.insertBatch(getConnectionBasDevpList("YI",14,2,true,(short)2));
        //原材料出库接驳位
        this.insertBatch(getConnectionBasDevpList("YO",18,2,false,(short)2));
        //箱壳入库接驳位
@@ -253,12 +253,12 @@
    }
    private void setFlagForAgvBasDevpDto(AgvWrkMast agvWrkMast, AgvBasDevpDto agvBasDevpDto){
        //当工作档类型为101.出库 并且 工作位状态为F.在库时,显示容器离场按钮
        //当工作档类型为101.出库 并且 工作位状态为F.在库时,显示货架离场按钮
        if(agvWrkMast.getIoType() == 101 && "F".equals(agvBasDevpDto.getLocSts())){
            agvBasDevpDto.setContainerMoveOutFlag(true);
        }
        //当工作档类型为101.出库 并且 工作位状态为F.在库时,显示容器离场按钮
        //当工作档类型为101.出库 并且 工作位状态为F.在库时,显示货架离场按钮
        if(agvWrkMast.getIoType() == 110 && "D".equals(agvBasDevpDto.getLocSts())){
            agvBasDevpDto.setContainerMoveOutFlag(true);
        }
@@ -300,8 +300,12 @@
    }
    @Override
    public List<String> selectCacheShelvesStationCodeByLocType(short locType) {
        return this.baseMapper.selectCacheShelvesStationCodeByLocType(locType);
    public List<String> selectCacheShelvesStationCodeByLocType(short locType, int floor) {
        return this.baseMapper.selectCacheShelvesStationCodeByLocType(locType,floor);
    }
    @Override
    public List<String> selectCacheShelvesStationCodeByLocType2(short locType, int floor) {
        return this.baseMapper.selectCacheShelvesStationCodeByLocType2(locType,floor);
    }
    public List<Map<String,Object>> selectDevNoAndNumBystationCode(String stationCode){