|
@@ -551,7 +551,6 @@ public class UploadFromWebService {
|
|
|
}
|
|
|
//定义每次检索的专利数量(每次检索50件)
|
|
|
int size = 50;
|
|
|
-
|
|
|
//2.根据检索式conditions先检索一件专利著录信息【此操作主要是为了获得专利总数量count】
|
|
|
SerachBiblioData serachBiblioData = getSerachBiblioData(conditions, 1, 1);
|
|
|
if (serachBiblioData == null || serachBiblioData.getTotals() == 0) {
|
|
@@ -595,7 +594,6 @@ public class UploadFromWebService {
|
|
|
.setTotal(count), ResponseEnum.PATENT_IMPORT_TASK_SUCCESS), "null");
|
|
|
return null;
|
|
|
}
|
|
|
-
|
|
|
//3.1根据检索式conditions、专利开始数i、专利最后数i + size - 1检索专利著录信息
|
|
|
serachBiblioData = getSerachBiblioData(conditions, i, i + size - 1);
|
|
|
//获取检索结果中的所有专利著录信息
|
|
@@ -603,7 +601,6 @@ public class UploadFromWebService {
|
|
|
continue;
|
|
|
}
|
|
|
List<PatentZhuLu> patents = serachBiblioData.getPatents();
|
|
|
-
|
|
|
//3.2遍历专利
|
|
|
for (PatentZhuLu patent : patents) {
|
|
|
PatentCell patentCell = new PatentCell();
|
|
@@ -1078,7 +1075,7 @@ public class UploadFromWebService {
|
|
|
* @throws IOException
|
|
|
* @throws InterruptedException
|
|
|
*/
|
|
|
- public List<PatentCell> getPatentya(String patentVO) throws IOException, InterruptedException {
|
|
|
+ public List<PatentCell> getPatentya(String patentVO) throws InterruptedException {
|
|
|
//1.获得驱动
|
|
|
System.setProperty("webdriver.chrome.driver", "D:\\driver\\chromedriver.exe");
|
|
|
// 2.页面最大化
|