package com.hz.his.feign.service.platform.fdd; import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; import com.hz.his.dto.fdd.FddDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; 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-sign-task") public interface SPhipFddSignTaskService { /** 发起模板签署任务 */ @PostMapping(value = "/fdd/sign/task/template/signTask") Result templateSignTask(@RequestBody FddDto dto); /** 获取签署任务参与人链接 to codeNo */ @PostMapping(value = "/fdd/sign/task/getSignTaskActorUrlToCodeNo") Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto); /** 电子病历 - 发起法大大签署任务 */ @RequestMapping(value="/fdd/sign/task/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id , @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl); /** 处方单 - 发起法大大签署任务 */ @RequestMapping(value="/fdd/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id , @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl); /** 作废(撤销签署任务) */ @RequestMapping("/fdd/sign/task/cancelSignTask") Result cancelSignTask(@RequestBody FddDto dto); /** 获取签署任务文件下载地址 */ @PostMapping(value = "/fdd/sign/task/getSignTaskFileUrl") Result getSignTaskFileUrl(@RequestBody FddDto dto); }