| | |
| | | // 获取库位 |
| | | LocMast locMast = locMastService.selectById(dto.getLocNo()); |
| | | |
| | | if (Cools.isEmpty(locMast)) { |
| | | throw new CoolException(dto.getLocNo()+"库位不存在"); |
| | | } |
| | | if(!locMast.getLocSts().equals("F")){ |
| | | throw new CoolException(dto.getLocNo()+"托盘非在库状态"); |
| | | } |
| | | |
| | | Integer outSta = staNo.getDevNo(); |
| | | //2号堆垛机全板出库站指定为204站,拣料站指定为202 |
| | | // if(locMast.getCrnNo()==2){ |
| | |
| | | if (Cools.isEmpty(locMast)) { |
| | | throw new CoolException(locNo+"库位不存在"); |
| | | } |
| | | if(!locMast.getLocSts().equals("D")){ |
| | | throw new CoolException(locNo+"托盘非在库状态"); |
| | | } |
| | | // 获取源站 |
| | | Wrapper<StaDesc> wrapper = new EntityWrapper<StaDesc>() |
| | | .eq("type_no", 110) |