fhx
2024-03-04 b156efaa0d9bc62c95d87f0b9ea916669c6c1d3e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.hz.his.feign.service.platform;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.PageDto;
import com.hz.his.dto.marketing.MarketActivityDto;
import com.hz.his.dto.user.UserTreatRecordDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * 法大大service
 * @USER: fhx
 * @DATE: 2023/8/2
 **/
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd")
public interface SPhipFddService {
 
    /** 法大大签署模板列表 */
    @PostMapping(value = "/fdd/signTemplateList")
    Result signTemplateList(@RequestBody PageDto dto);
 
    /** 法大大授权认证链接 */
    @PostMapping(value = "/fdd/authUrl")
    Result fddAuthUrl(@RequestBody UserTreatRecordDto dto);
 
    /** 发起治疗同意书签署任务 */
    @PostMapping(value = "/fdd/template/signTask")
    Result templateSignTask(@RequestBody UserTreatRecordDto dto);
 
    /** 电子病历 - 发起法大大签署任务 */
    @RequestMapping("/fdd/medicalRecords/signTask")
    Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
            , @RequestParam("loginRoleId") String loginRoleId);
 
    /** 处方单 - 发起法大大签署任务 */
    @RequestMapping("/fdd/prescription/signTask")
    Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
            , @RequestParam("loginRoleId") String loginRoleId);
 
 
}