| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 双深式货架核心功能 |
| | | * 货架核心功能 |
| | | * Created by vincent on 2020/6/11 |
| | | */ |
| | | @Service |
| | |
| | | } |
| | | } |
| | | if (workNo > 0){ |
| | | // todo |
| | | wrkLastno.setWrkNo(workNo); |
| | | wrkLastnoService.updateById(wrkLastno); |
| | | } |
| | |
| | | for (List<Integer> node : shelves.nodes){ |
| | | if (node.contains(curRow)) { |
| | | crnNo = shelves.nodes.indexOf(node) + 1; |
| | | break; |
| | | } |
| | | } |
| | | BasCrnp crnp = basCrnpService.selectById(crnNo); |
| | |
| | | throw new CoolException("入库路径不存在"); |
| | | } |
| | | BasDevp staNo = basDevpService.selectById(staDesc.getCrnStn()); |
| | | int inQty = staNo.getInQty(); |
| | | int inQty = staNo.getInQty()==null?0:staNo.getInQty(); |
| | | if (staNo.getInEnable().equals("Y") && staNo.getAutoing().equals("Y") && inQty<2) { |
| | | // 查找库位 |
| | | LocMast locMast = locMastService.queryFreeLocMast(curRow); |