| | |
| | | .gt("bay1",columnNum)); |
| | | |
| | | // 深库位没有则搜索浅库位 |
| | | if (locMasts.isEmpty()) { |
| | | locMasts = locMastService.selectList(new EntityWrapper<LocMast>() |
| | | // if (locMasts.isEmpty()) { |
| | | List<LocMast> locMasts2 = locMastService.selectList(new EntityWrapper<LocMast>() |
| | | .eq("loc_sts","O").in("crn_no",crnNoList).in("row1","2,3,6,7,10,11,14,15,18,19,22,23").orderBy("lev1,bay1,row1") |
| | | .gt("bay1",columnNum)); |
| | | } |
| | | if(!locMasts2.isEmpty()) { |
| | | locMasts.addAll(locMasts2); |
| | | } |
| | | // } |
| | | if (locMasts.isEmpty()) { |
| | | throw new CoolException("没有可用库位"); |
| | | } |