| | |
| | | throw new CoolException("保存工作档明细失败"); |
| | | } |
| | | if (ioType == 107) { |
| | | List<InventoryCheckOrderDetl> checkOrderDetls = checkOrderDetlService.selectList(new EntityWrapper<InventoryCheckOrderDetl>().eq("order_no", checkOrderNo).eq("loc_no", dto.getLocNo())); |
| | | List<InventoryCheckOrderDetl> checkOrderDetls = checkOrderDetlService.selectList(new EntityWrapper<InventoryCheckOrderDetl>() |
| | | .eq("order_no", checkOrderNo) |
| | | .eq("loc_no", dto.getLocNo()) |
| | | .eq("batch", wrkDetl.getBatch()) |
| | | ); |
| | | if (checkOrderDetls != null && !checkOrderDetls.isEmpty()) { |
| | | throw new CoolException("该库位的盘点任务已经添加到了该库位中"); |
| | | } |