phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java
New file @@ -0,0 +1,62 @@ package com.hz.his.dto.appointment; import lombok.Data; /** * 预约参数封装 * * @Author: zhouxiang * @Date: 2022/06/01/17:44 * @Description: */ @Data public class AppointmentCrmAddDto { //处理类型(1新增2编辑3取消) private Integer handleType; //预约id private String appointmentId; //门店标识 private String shopId; //用户标识 private String userId; //医生标识 private String doctorId; //就诊类型 private String visitType; //预约类型 private Integer appType; //预约开始时间 private String startTime; //预约结束时间 private String endTime; //备注 private String remark; //餐食备注 private String mealsRemark; //项目json private String projectJson; //项目ID private String projectIds; //项目名称 private String projectNames; //面诊时长,以分为单位 private Integer docComDuration; //沟通时长,以分为单位 private Integer comDuration; //手术准备时长,以分为单位" private Integer readyDuration; //治疗时长,以分为单位 private Integer treatDuration; //等待时长,以分为单位 private Integer waitDuration; //麻敷时间,以分为存储单位 private Integer palsyDuration; } phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java
New file @@ -0,0 +1,19 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.dto.appointment.AppointmentCrmAddDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @USER: fhx * @DATE: 2023/7/6 **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appointment") public interface SPhipAppointmentService { /** CRM预约 */ @PostMapping("/appointment/crm/app") Result crmApp(@RequestBody AppointmentCrmAddDto dto); }