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