自动化立体仓库 - WMS系统
zyx
2023-08-29 67f4004e7645ecb4b88191981bcb106a55cd5765
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -84,7 +84,7 @@
        int row = Utils.getRow(locNo);
        List<String> locNos = Utils.getGroupLoc(locNo);
        if (CommonService.FIRST_GROUP_ROW_LIST.contains(row)) {
        } else if (CommonService.SECOND_GROUP_ROW_LIST.contains(row)) {
        } else if (CommonService.SECOND_GROUP_ROW_LIST.contains(row) || CommonService.THIRD_GROUP_ROW_LIST.contains(row)) {
            Collections.reverse(locNos);
        } else {
            throw new RuntimeException("库位解析异常");
@@ -189,4 +189,9 @@
    public List<LocMast> selectEmptyByLocNos(List<String> locNos) {
        return this.baseMapper.selectEmptyByLocNos(locNos);
    }
    @Override
    public Integer updateLocType2ByRBL(Integer locType2, Integer startRow, Integer endRow, Integer startBay, Integer endBay, Integer startLev, Integer endLev) {
        return this.baseMapper.updateLocType2ByRBL(locType2, startRow, endRow, startBay, endBay, startLev, endLev);
    }
}