| | |
| | | * @return locNo 检索到的库位号 |
| | | */ |
| | | public StartupDto getLocNo(Integer whsType, Integer staDescId, Integer sourceStaNo, List<String> matNos, int times) { |
| | | if (sourceStaNo == 3) { |
| | | whsType = 1; |
| | | } else if (sourceStaNo == 7) { |
| | | whsType = 2; |
| | | } else if (sourceStaNo == 19) { |
| | | whsType = 3; |
| | | } else { |
| | | throw new CoolException("无效入库站"); |
| | | } |
| | | // if (sourceStaNo == 3) { |
| | | // whsType = 1; |
| | | // } else if (sourceStaNo == 7) { |
| | | // whsType = 2; |
| | | // } else if (sourceStaNo == 19) { |
| | | // whsType = 3; |
| | | // } else { |
| | | // throw new CoolException("无效入库站"); |
| | | // } |
| | | StartupDto startupDto = new StartupDto(); |
| | | RowLastno rowLastno = rowLastnoService.selectById(whsType); |
| | | if (Cools.isEmpty(rowLastno)) { |