|
@@ -126,7 +126,9 @@ public class EventServiceTests {
|
|
|
// mapRequest.setSize(50L);
|
|
|
// mapRequest.setProjectId(1);
|
|
|
StringRequest stringRequest = new StringRequest();
|
|
|
- stringRequest.setSearchQuery("agent=李桂存");
|
|
|
+ stringRequest.setSearchQuery("appCity=济南");
|
|
|
+// stringRequest.setSearchQuery("mipcLevel1=H");
|
|
|
+// stringRequest.setSearchQuery("agent=李桂存");
|
|
|
// stringRequest.setSearchQuery("IN=郝旭东");
|
|
|
// stringRequest.setSearchQuery("simpleStatus=3");
|
|
|
// stringRequest.setSearchQuery("CL=一种考虑电流限制和出力水平的分布式光伏机电暂态建模方法");
|
|
@@ -156,6 +158,10 @@ public class EventServiceTests {
|
|
|
//2.调用查询取第一页(5笔一页)
|
|
|
//3.判断5笔数据是正确的;
|
|
|
//4.删除测试数据
|
|
|
+ List<Integer> list = Arrays.asList(1, 2, 3, 4);
|
|
|
+ List<Integer> list1 = Arrays.asList(4, 5);
|
|
|
+// list1.removeAll(list);
|
|
|
+ System.out.println(list1);
|
|
|
}
|
|
|
|
|
|
@Test
|
|
@@ -184,4 +190,11 @@ public class EventServiceTests {
|
|
|
EsPatentFamilyDTO test = esService.selectEsPatentFamily(stringList, "test");
|
|
|
System.out.println(test);
|
|
|
}
|
|
|
+
|
|
|
+ @Test
|
|
|
+ void test4() throws IOException {
|
|
|
+ List<String> stringList = Arrays.asList("US369258147", "US258369147", "14528");
|
|
|
+ EsPatentFamilyDTO test = esService.selectEsPatentFamily(stringList, "test");
|
|
|
+ System.out.println(test);
|
|
|
+ }
|
|
|
}
|