| | |
| | | List<String> groupLoc = Utils.getGroupLoc(wrkMast.getLocNo()); |
| | | //随机可用堆垛机号 |
| | | Integer randomCrnNo = Utils.getRandomCrnNo(crnNos, locTypeDto.getLocType1()); |
| | | Collections.shuffle(crnNos); |
| | | for (Integer crnNo : crnNos) { |
| | | List<LocMast> locMasts = locMastService.findEmptyLocMastByLocNos(locTypeDto.getLocType1(), groupLoc, crnNo); |
| | | for (LocMast locMast0 : locMasts) { |
| | |
| | | Boolean flag = false; |
| | | Integer randomCrnNo = Utils.getRandomCrnNo(crnNos, locTypeDto.getLocType1()); |
| | | Collections.shuffle(crnNos); |
| | | System.out.println(crnNos); |
| | | for (Integer crnNo : crnNos) { |
| | | List<LocMast> locMasts = locMastService.findInEmptyLocMast(locTypeDto.getLocType1(), rows, crnNo);//找一条新的空巷道 |
| | | for (LocMast locMast0 : locMasts) { |