提交 | 用户 | age
|
94c7f7
|
1 |
package com.hz.his.feign.service.platform.fdd; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.PageDto; |
|
5 |
import com.hz.his.dto.fdd.FddDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.http.MediaType; |
|
8 |
import org.springframework.web.bind.annotation.*; |
|
9 |
import org.springframework.web.multipart.MultipartFile; |
|
10 |
|
|
11 |
/** |
|
12 |
* 法大大签署任务service |
|
13 |
* @USER: fhx |
|
14 |
* @DATE: 2023/8/2 |
|
15 |
**/ |
|
16 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd-sign-task") |
|
17 |
public interface SPhipFddSignTaskService { |
|
18 |
|
|
19 |
|
|
20 |
/** 发起模板签署任务 */ |
|
21 |
@PostMapping(value = "/fdd/sign/task/template/signTask") |
|
22 |
Result templateSignTask(@RequestBody FddDto dto); |
|
23 |
|
|
24 |
/** 获取签署任务参与人链接 to codeNo */ |
|
25 |
@PostMapping(value = "/fdd/sign/task/getSignTaskActorUrlToCodeNo") |
|
26 |
Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto); |
|
27 |
|
|
28 |
/** 电子病历 - 发起法大大签署任务 */ |
|
29 |
@RequestMapping(value="/fdd/sign/task/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
|
30 |
Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id |
|
31 |
, @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl); |
|
32 |
|
|
33 |
/** 处方单 - 发起法大大签署任务 */ |
|
34 |
@RequestMapping(value="/fdd/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
|
35 |
Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id |
|
36 |
, @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl); |
|
37 |
|
|
38 |
/** 作废(撤销签署任务) */ |
|
39 |
@RequestMapping("/fdd/sign/task/cancelSignTask") |
|
40 |
Result cancelSignTask(@RequestBody FddDto dto); |
|
41 |
|
|
42 |
/** 获取签署任务文件下载地址 */ |
|
43 |
@PostMapping(value = "/fdd/sign/task/getSignTaskFileUrl") |
|
44 |
Result getSignTaskFileUrl(@RequestBody FddDto dto); |
|
45 |
|
|
46 |
} |