Ver código fonte

es统计分析

zero 1 ano atrás
pai
commit
1f5b1b6506

+ 14 - 7
src/main/java/cn/cslg/pas/controller/PatentController.java

@@ -53,13 +53,6 @@ public class PatentController {
         return Response.success(records);
     }
 
-    @Operation(summary = "专利的聚合统计")
-    @PostMapping("/esCountSearch")
-    public Response esCountSearch(@RequestBody List<EsCountVO> countVOS) throws Exception {
-        EsCountDTO dto = esCountService.esCountSearch(countVOS);
-        return Response.success(dto);
-    }
-
     @Operation(summary = "查询专利详情")
     @PostMapping("/selectPatentDetail")
     public Response selectPatentDetail(@RequestBody PatentNoVO vo) throws Exception {
@@ -81,6 +74,13 @@ public class PatentController {
         return Response.success(patentPageMessageVOS);
     }
 
+    @Operation(summary = "专利的聚合统计")
+    @PostMapping("/esCountSearch")
+    public Response esCountSearch(@RequestBody List<EsCountVO> countVOS) throws Exception {
+        EsCountDTO dto = esCountService.esCountSearch(countVOS);
+        return Response.success(dto);
+    }
+
     @Operation(summary = "专利的聚合分析")
     @PostMapping("/esAnalysisSearch")
     public Response esCount(@RequestBody List<EsCountVO> countVOS) throws Exception {
@@ -88,4 +88,11 @@ public class PatentController {
         return Response.success(patentDTO);
     }
 
+    @Operation(summary = "esAnalysis")
+    @PostMapping("/esAnalysis")
+    public Response esAnalysis(@RequestBody EsCountVO countVO) throws Exception {
+        EsCountDTO dto = esCountService.esAnalysis(countVO);
+        return Response.success(dto);
+    }
+
 }