| | |
| | | } |
| | | LocAroundBind bind = new LocAroundBind(); |
| | | bind.setDevNo(params.getDevNo()); |
| | | bind.setBLocNo(mast.getLocNo()); |
| | | bind.setBlocNo(mast.getLocNo()); |
| | | bind.setDevId(basDevice.getId()); |
| | | if (!this.insert(bind)) { |
| | | throw new CoolException("绑定库位失败"); |
| | | } |
| | | |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", bind.getBLocNo())); |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", bind.getBlocNo())); |
| | | locMast.setLocSts(LocStsType.LOC_STS_TYPE_X.type); |
| | | locMast.setDeleted(1); |
| | | locMast.setFrozen(1); |