| | |
| | | if (!locMastService.updateById(locMast1)) { |
| | | throw new CoolException("改变库位状态失败"); |
| | | } |
| | | locDetlService.delete(new EntityWrapper<LocDetl>().eq("loc_no",locMast1.getLocNo())); |
| | | } else { |
| | | throw new CoolException("源库位状态异常"); |
| | | } |
| | |
| | | if (!locMastService.updateById(locMast)) { |
| | | exceptionHandle("盘点出库 ===>> 修改源库位状态失败;[workNo={0}],[sourceLocNo={1}]", wrkMast.getWrkNo(), wrkMast.getSourceLocNo()); |
| | | } |
| | | locDetlService.delete(new EntityWrapper<LocDetl>().eq("loc_no",locMast.getLocNo())); |
| | | } |
| | | return SUCCESS;//盘点只处理库存数据不改变工作档状态 |
| | | // 空板出库 |