| | |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.his.dto.PageDto; |
| | | import com.hz.his.dto.fdd.FddDto; |
| | | 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.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | /** |
| | |
| | | @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd") |
| | | public interface SPhipFddService { |
| | | |
| | | /** 授权免验证签署 */ |
| | | @PostMapping(value = "/fdd/authFreeVisa") |
| | | Result authFreeVisa(@RequestBody FddDto dto); |
| | | |
| | | /** 法大大签署模板列表 */ |
| | | @PostMapping(value = "/signTemplateList") |
| | | @PostMapping(value = "/fdd/signTemplateList") |
| | | Result signTemplateList(@RequestBody PageDto dto); |
| | | |
| | | /** 法大大授权认证链接 */ |
| | | @PostMapping(value = "/authUrl") |
| | | Result fddAuthUrl(@RequestBody UserTreatRecordDto dto); |
| | | @PostMapping(value = "/fdd/authUrl") |
| | | Result fddAuthUrl(@RequestBody FddDto dto); |
| | | |
| | | /** 发起治疗同意书签署任务 */ |
| | | @PostMapping(value = "/template/signTask") |
| | | Result templateSignTask(@RequestBody UserTreatRecordDto dto); |
| | | @PostMapping(value = "/fdd/template/signTask") |
| | | Result templateSignTask(@RequestBody FddDto dto); |
| | | |
| | | /** 获取签署任务参与人链接 to codeNo */ |
| | | @PostMapping(value = "/fdd/getSignTaskActorUrlToCodeNo") |
| | | Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto); |
| | | |
| | | /** 电子病历 - 发起法大大签署任务 */ |
| | | @RequestMapping("/medicalRecords/signTask") |
| | | Result medicalRecordsSignTask(MultipartFile file, String id, String loginRoleId); |
| | | @RequestMapping(value="/fdd/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id |
| | | , @RequestParam("loginRoleId") String loginRoleId); |
| | | |
| | | /** 处方单 - 发起法大大签署任务 */ |
| | | @RequestMapping("/prescription/signTask") |
| | | Result prescriptionSignTask(MultipartFile file, String id, String loginRoleId); |
| | | @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); |
| | | |
| | | |
| | | } |