|
@@ -3,6 +3,8 @@ package cn.cslg.pas.service;
|
|
|
import cn.cslg.pas.common.dto.*;
|
|
|
import cn.cslg.pas.common.dto.business.LiteratureQueryDTO;
|
|
|
import cn.cslg.pas.common.model.cronModel.Records;
|
|
|
+import cn.cslg.pas.common.model.request.QueryRequest;
|
|
|
+import cn.cslg.pas.common.model.request.StringRequest;
|
|
|
import cn.cslg.pas.common.vo.CompareLiteratureVO;
|
|
|
import cn.cslg.pas.common.vo.QueryCompareFileVO;
|
|
|
import cn.cslg.pas.common.vo.QueryInventionPointVO;
|
|
@@ -80,7 +82,7 @@ public class NoveltyProjectTest {
|
|
|
@Test
|
|
|
public void queryNoveltyProject() throws Exception {
|
|
|
QueryNoveltyProjectDTO vo = new QueryNoveltyProjectDTO();
|
|
|
- vo.setProjectId(485);
|
|
|
+// vo.setProjectId(485);
|
|
|
vo.setCurrent(1L);
|
|
|
vo.setSize(10L);
|
|
|
final Records records = noveltyProjectService.queryNoveltyProject(vo);
|
|
@@ -88,6 +90,15 @@ public class NoveltyProjectTest {
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
+ public void queryMessage() throws Exception {
|
|
|
+ QueryRequest vo = new QueryRequest();
|
|
|
+ vo.setCurrent(1L);
|
|
|
+ vo.setSize(10L);
|
|
|
+ Records records = (Records) noveltyProjectService.queryMessage(vo);
|
|
|
+ System.out.println(records);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Test
|
|
|
public void addTechnicalCase1() throws Exception {
|
|
|
AddTechnicalCaseDTO vo = new AddTechnicalCaseDTO();
|
|
|
vo.setIpc("GHIRj");
|
|
@@ -138,7 +149,10 @@ public class NoveltyProjectTest {
|
|
|
|
|
|
@Test
|
|
|
public void querySimilarInventionPoint() throws IOException {
|
|
|
- final List<QueryInventionPointVO> inventionPointVOS = technicalCaseService.querySimilarInventionPoint("测试");
|
|
|
+ QuerySimilarInventionPointDTO vo = new QuerySimilarInventionPointDTO();
|
|
|
+ vo.setContent("测试");
|
|
|
+ vo.setProjectId(485);
|
|
|
+ final List<QueryInventionPointVO> inventionPointVOS = technicalCaseService.querySimilarInventionPoint(vo);
|
|
|
System.out.println(inventionPointVOS);
|
|
|
}
|
|
|
|