|
@@ -52,7 +52,6 @@ public class CompareFilesService extends ServiceImpl<CompareFilesMapper, Compare
|
|
|
Report report = reportService.getById(compareFilesVO.getReportId());
|
|
|
//根据标的专利号获得专利信息
|
|
|
String res1 = outInterfaceService.getPatentFromPAS( report.getSignPatentNo());
|
|
|
-
|
|
|
JSONObject res1Object = JSONObject.parseObject(res1);
|
|
|
JSONObject patentNoJSON = JSONObject.parseObject(res1Object.get("data").toString());
|
|
|
//获得引用专利号
|
|
@@ -125,7 +124,6 @@ public class CompareFilesService extends ServiceImpl<CompareFilesMapper, Compare
|
|
|
patentVO.setPatentNos(patentNos);
|
|
|
//详情见outInterfaceService.getPatentFromPAS
|
|
|
res = outInterfaceService.getPatentFromPAS(patentVO, 1);
|
|
|
-
|
|
|
} else {
|
|
|
//根据标的专利号和报告id找到报告
|
|
|
LambdaQueryWrapper<Report> wrapper1 = new LambdaQueryWrapper<>();
|
|
@@ -136,11 +134,9 @@ public class CompareFilesService extends ServiceImpl<CompareFilesMapper, Compare
|
|
|
return "";
|
|
|
}
|
|
|
String signPatentNO = reportService.list(wrapper1).get(0).getSignPatentNo();
|
|
|
- patentNos.add(signPatentNO);
|
|
|
patentVO.setNotInPatentNos(patentNos);
|
|
|
//详情见outInterfaceService.getPatentFromPAS
|
|
|
res = outInterfaceService.getPatentFromPAS(patentVO, 0);
|
|
|
-
|
|
|
}
|
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
|
JSONObject resData = JSONObject.parseObject(jsonObject.getString("data"));
|
|
@@ -151,7 +147,6 @@ public class CompareFilesService extends ServiceImpl<CompareFilesMapper, Compare
|
|
|
if (patentNos.contains(list.get(i).get("patentNo").toString())) {
|
|
|
temNos.add(list.get(i).get("patentNo").toString());
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
//根据报告id获取对比文件的数量
|
|
|
int i = compareFilesMapper.selectedTotal(patentVO.getReportId());
|