|
@@ -1,6 +1,7 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.KlDiagnoseDetailFacade;
|
|
|
import com.diagbot.facade.KlDiagnoseImportFacade;
|
|
|
import com.diagbot.vo.DiagnoseImportVO;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -13,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -28,6 +30,8 @@ public class KlDiagnoseImportController {
|
|
|
|
|
|
@Autowired
|
|
|
KlDiagnoseImportFacade klDiagnoseImportFacade;
|
|
|
+ @Autowired
|
|
|
+ KlDiagnoseDetailFacade klDiagnoseDetailFacade;
|
|
|
|
|
|
@ApiOperation(value = "诊断依据导入API[zhoutg]",
|
|
|
notes = "diags:指定诊断名称导入")
|
|
@@ -37,5 +41,10 @@ public class KlDiagnoseImportController {
|
|
|
return RespDTO.onSuc(klDiagnoseImportFacade.importDiagnose(file, diagnoseImportVO));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "诊断依据导出API[zhoutg]")
|
|
|
+ @PostMapping("/exportDiagnose")
|
|
|
+ public void exportDiagnose(HttpServletResponse response) {
|
|
|
+ klDiagnoseDetailFacade.exportDiagnose();
|
|
|
+ }
|
|
|
|
|
|
}
|