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