Merge remote-tracking branch 'origin/dev_ztns' into dev_ztns
| | |
| | | throw new ErrorException("IFS检验后移库失败: " + result1.getMessage()); |
| | | } |
| | | } |
| | | // 修改ifs订单数据为已检验 |
| | | ifsInventoryQuantityMapper.update(null, new LambdaUpdateWrapper<IfsInventoryQuantity>() |
| | | .set(IfsInventoryQuantity::getState, 2) |
| | | .eq(IfsInventoryQuantity::getId, inventoryQuantity.getId())); |
| | | return toLocation; |
| | | } |
| | | |
| | |
| | | IfsInventoryQuantity one = ifsInventoryQuantityMapper.selectOne(new LambdaQueryWrapper<IfsInventoryQuantity>() |
| | | .eq(IfsInventoryQuantity::getId, insOrder.getIfsInventoryId())); |
| | | if (Objects.isNull(one)) { |
| | | throw new ErrorException("找不到原材料信息"); |
| | | throw new ErrorException("找不到销售订单信息"); |
| | | } |
| | | // 判断是否有不合格信息 |
| | | Long count = insUnqualifiedHandlerMapper.selectCount(Wrappers.<InsUnqualifiedHandler>lambdaQuery() |