inspect-server/src/main/java/com/ruoyi/inspect/service/impl/InsReportServiceImpl.java
@@ -802,7 +802,7 @@ 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()