| | |
| | | if (issued >0){ |
| | | List<LocDetl> locDetls = locDetlService.queryStock(orderDetl.getMatnr(), orderDetl.getBatch(), hostId); |
| | | for (LocDetl locDetl : locDetls) { |
| | | for (HashMap.Entry<String,Integer> entry:hm.entrySet()){ |
| | | //过滤掉在已被标记的库位号 |
| | | boolean boo=false; |
| | | for (HashMap.Entry<String,Integer> entry:hm.entrySet()) { |
| | | if(locDetl.getLocNo().equals(entry.getKey())){ |
| | | continue; |
| | | boo=true; |
| | | break; |
| | | } |
| | | } |
| | | if (boo){ |
| | | continue; |
| | | } |
| | | List<LocDetl> locMats = locDetlService.list(new LambdaQueryWrapper<LocDetl>() |
| | | .eq(LocDetl::getLocNo, locDetl.getLocNo()) |
| | | .eq(LocDetl::getHostId, hostId)); |