| | |
| | | wrkMast1.setOveMk("Y"); |
| | | wrkMastService.updateById(wrkMast1); |
| | | } |
| | | LocAroundBind bLocNo = locAroundBindService.selectOne(new EntityWrapper<LocAroundBind>().eq("b_loc_no", wrkMast.getSourceLocNo())); |
| | | if (Objects.isNull(bLocNo)) { |
| | | throw new CoolException("数据错误, 目标工位不存在!!"); |
| | | } |
| | | bLocNo.setLocType(LocStsType.LOC_STS_TYPE_O.type); |
| | | if (!locAroundBindService.updateById(bLocNo)) { |
| | | throw new CoolException("工位状态修改失败!!"); |
| | | } |
| | | } |
| | | // // 出库确认信号位 |
| | | // if (Cools.isEmpty(wrkMast.getInvWh()) || wrkMast.getInvWh().equals("N")) { |