自动化立体仓库 - WMS系统
zyx
2023-07-25 64c256128e8cf5c65e409c4682cf3c32466748b2
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);
    }
}