| | |
| | | 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("库位解析异常"); |
| | |
| | | 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); |
| | | } |
| | | } |