feat: 英德中医院pacs补偿失败只补偿失败的,调用接口
parent
aec246c3ca
commit
80d669bd03
@ -0,0 +1,16 @@
|
|||||||
|
package com.docus.server.rpc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author YongBin Wen
|
||||||
|
* @date 2024/9/14 16:53
|
||||||
|
*/
|
||||||
|
public interface YdZyyPacsService {
|
||||||
|
/**
|
||||||
|
* 获取 pacs 报告
|
||||||
|
* @date 2024/9/14 16:59
|
||||||
|
* @author YongBin Wen
|
||||||
|
* @param remark 文件唯一值
|
||||||
|
* @return 图片base64
|
||||||
|
*/
|
||||||
|
String getJpgReportBase64(String remark);
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package com.docus.server.ydzyy.controller;
|
||||||
|
|
||||||
|
|
||||||
|
import com.docus.infrastructure.web.api.CommonResult;
|
||||||
|
import com.docus.server.rpc.YdZyyPacsService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* api测试类
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/ydzyyApi")
|
||||||
|
public class ApiController {
|
||||||
|
@Autowired
|
||||||
|
private YdZyyPacsService pacsService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 测试
|
||||||
|
*/
|
||||||
|
@GetMapping("/pacs/xml")
|
||||||
|
public CommonResult<String> lisXmlTest(@RequestParam(name = "remark") String remark) {
|
||||||
|
String base64 = pacsService.getJpgReportBase64(remark);
|
||||||
|
return CommonResult.success(base64);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue