Преглед на файлове

1、静态知识自动化测试

zhaops преди 3 години
родител
ревизия
1e7b9071e8
променени са 1 файла, в които са добавени 7 реда и са изтрити 5 реда
  1. 7 5
      cdssman-service/src/main/java/com/diagbot/web/StaticKnowledgeTestController.java

+ 7 - 5
cdssman-service/src/main/java/com/diagbot/web/StaticKnowledgeTestController.java

@@ -23,6 +23,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.multipart.MultipartFile;
+import springfox.documentation.annotations.ApiIgnore;
 
 import javax.servlet.http.HttpServletResponse;
 import javax.validation.Valid;
@@ -79,15 +80,15 @@ public class StaticKnowledgeTestController {
         runningInfoVO.setStatus(1);
         runningInfoFacade.updateStatus(runningInfoVO);
         if (type.equals(StaticKnowledgeEnum.Lis.getKey())) {
-            data = resultStaticKnowledgeFacade.lisTest(file, testVO);
+            data = resultStaticKnowledgeNeoFacade.lisTest(file, testVO);
         } else if (type.equals(StaticKnowledgeEnum.Pacs.getKey())) {
-            data = resultStaticKnowledgeFacade.pacsTest(file, testVO);
+            data = resultStaticKnowledgeNeoFacade.pacsTest(file, testVO);
         } else if (type.equals(StaticKnowledgeEnum.Drug.getKey())) {
-            data = resultStaticKnowledgeFacade.drugTest(file, testVO);
+            data = resultStaticKnowledgeNeoFacade.drugTest(file, testVO);
         } else if (type.equals(StaticKnowledgeEnum.Disease.getKey())) {
-            data = resultStaticKnowledgeFacade.diseaseTest(file, testVO);
+            data = resultStaticKnowledgeNeoFacade.diseaseTest(file, testVO);
         } else if (type.equals(StaticKnowledgeEnum.Operation.getKey())) {
-            data = resultStaticKnowledgeFacade.operationTest(file, testVO);
+            data = resultStaticKnowledgeNeoFacade.operationTest(file, testVO);
         }
         //结束运行
         runningInfoVO.setStatus(0);
@@ -101,6 +102,7 @@ public class StaticKnowledgeTestController {
                     "caseId: 测试用例id<br>")
     @PostMapping("/staticKnowledgeTestNeo")
     @SysLogger("staticKnowledgeTestNeo")
+    @ApiIgnore
     public RespDTO<Boolean> staticKnowledgeTestNeo(@RequestParam("file") MultipartFile file,
                                                    @RequestParam("hospitalId") Long hospitalId,
                                                    @RequestParam("type") Integer type,