| | |
| | | * @param whsType 类型 1:双深式货架 |
| | | * @param staDescId 路径工作类型 |
| | | * @param sourceStaNo 源站 |
| | | * @param matNos 商品编号集合 |
| | | * @param matNos 品号集合 |
| | | * @return locNo 检索到的库位号 |
| | | */ |
| | | @Transactional |
| | |
| | | |
| | | int row = Integer.parseInt(loc.getLocNo().substring(0, 2)); |
| | | String shallowLocNo = ""; |
| | | if (row == 1 || row == 2) continue; |
| | | if (row == 1 || row == 2) { |
| | | continue; |
| | | } |
| | | LocMast trgerLoc = locMastService.selectById(zerofill(String.valueOf(2), 2) + loc.getLocNo().substring(2)); |
| | | if (!trgerLoc.getLocSts().equals("O")) { |
| | | continue; |
| | |
| | | * @param whsType 类型 1:双深式货架 |
| | | * @param staDescId 路径工作类型 |
| | | * @param sourceStaNo 源站 |
| | | * @param matnr 商品编号集合 |
| | | * @param matnr 品号集合 |
| | | * @return locNo 检索到的库位号 |
| | | */ |
| | | @Transactional |
| | | public StartupDto getLocNoRun(Integer whsType, Integer staDescId, Integer sourceStaNo, String matnr, String batch, String grade, Integer moveCrnNo, LocTypeDto locTypeDto, int times) { |
| | | if (Cools.isEmpty(matnr)) { //物料号 |
| | | if (Cools.isEmpty(matnr)) { //品号 |
| | | matnr = ""; |
| | | } |
| | | if (Cools.isEmpty(batch)) { //箱号 |