| | |
| | | public StartupDto getLocNoToTwo(Integer whsType, Integer staDescId, Integer sourceStaNo, String matnr, String batch, String grade, Integer moveCrnNo, LocTypeDto locTypeDto, int times) { |
| | | //目标库位 |
| | | LocMast locMast = null; |
| | | if (locTypeDto.getLocType2()==5 || locTypeDto.getLocType2() == 6){ |
| | | //1号巷道 |
| | | locMast=locMastService.queryLocToOneEmpty(locTypeDto.getLocType2()); |
| | | if (locTypeDto.getLocType2()==5){ |
| | | //1号巷道 单独的托盘 |
| | | locMast=locMastService.queryLocToOne(locTypeDto.getLocType2()); |
| | | |
| | | }else if (locTypeDto.getLocType2() == 6){ |
| | | //1号巷道 混用托盘 |
| | | locMast=locMastService.queryLocToSpecal(locTypeDto.getLocType1()); |
| | | |
| | | }else if (locTypeDto.getLocType2()==7||locTypeDto.getLocType2()==8){ |
| | | //2号巷道 2种货物类型 |