| | |
| | | assert ioType != null; |
| | | // 获取库位 |
| | | LocMast locMast = locMastService.selectById(dto.getLocNo()); |
| | | |
| | | //-----------------2023.6.2出库兼容代码----------------------- |
| | | List<LocDetl> locDetls = locDetlService.selectByLocNo(locMast.getLocNo()); |
| | | if (locMast.getLocType2() == 1 && locDetls.size() > 1) { |
| | | //单品区域出库物料大于1种,强制变成101全板出库 |
| | | ioType = 101; |
| | | } |
| | | //-----------------2023.6.2出库兼容代码end----------------------- |
| | | |
| | | // 获取路径 |
| | | StaDesc staDesc = staDescService.queryCrnStn(ioType, locMast.getCrnNo(), staNo.getDevNo(), locMast.getRow1()); |
| | | if(staDesc == null){ |