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