|
@@ -65,9 +65,6 @@ public class ProductController {
|
|
log.info("开始处理【根据报告id查询产品数据信息】的请求,参数为:{}", reportId);
|
|
log.info("开始处理【根据报告id查询产品数据信息】的请求,参数为:{}", reportId);
|
|
if (reportId != null) {
|
|
if (reportId != null) {
|
|
ProductIncludeFilesVO queryResult = productService.getProduct(reportId);
|
|
ProductIncludeFilesVO queryResult = productService.getProduct(reportId);
|
|
- if (queryResult == null) {
|
|
|
|
- return Response.error("产品已不存在");
|
|
|
|
- }
|
|
|
|
return Response.success(queryResult);
|
|
return Response.success(queryResult);
|
|
} else {
|
|
} else {
|
|
return Response.error("报告id不能为空");
|
|
return Response.error("报告id不能为空");
|