From ec458a2b00a31ad0290de835efd69e1e67bc8634 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期四, 06 七月 2023 14:36:39 +0800 Subject: [PATCH] 1.新增预约service --- phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java | 62 +++++++++++++++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java | 19 +++++++++ 2 files changed, 81 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java new file mode 100644 index 0000000..24d7408 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentCrmAddDto.java @@ -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; + + +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java new file mode 100644 index 0000000..446257a --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipAppointmentService.java @@ -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); +} -- Gitblit v1.8.0