From 3d35b110673c93dc5dfbc5a93b5397ecd21ca928 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期四, 22 八月 2024 14:34:21 +0800 Subject: [PATCH] Merge branch 'fhx-base-预约整合0808' into master-xlk-test --- phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java | 2 ++ phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java | 2 ++ phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java index 25fea90..7236781 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java @@ -58,5 +58,7 @@ /** 鏄惁褰撳ぉ鍒嗛殧涓婁笅鍗堝尮閰�(榛樿false) */ private boolean isDaySpace = false; + /** 鎺ㄨ崘鍖归厤鏁伴噺(榛樿2) */ + private Integer mateNum; } diff --git a/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java index 7edd7d2..a143bb0 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java @@ -33,4 +33,6 @@ private List preOrderItems; //spa棰勭害鏍囪瘑 private String id; + //SPU鏍囪瘑 + private String spuId; } diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java new file mode 100644 index 0000000..d7afff1 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java @@ -0,0 +1,51 @@ +package com.hz.his.feign.service.platform.appointment; + +import com.hx.resultTool.Result; +import com.hz.his.dto.appointment.AppointmentAutoMateDto; +import com.hz.his.dto.appointment.AppointmentDto; +import com.hz.his.dto.appointment.AppointmentV2Dto; +import com.hz.his.dto.user.UserDto; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; + +/** + * 棰勭害鑷姩鍖归厤service + * @USER: fhx + * @DATE: 2023/7/6 + **/ +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appointment-crm-self-v2") +public interface SPhipCrmSelfV2Service { + + /** 棰勭害闂ㄥ簵 */ + @PostMapping("/appointment/crm/self/v2/shop/list") + Result shopList(); + + /** 鍖荤敓鎺掔彮 */ + @PostMapping("/appointment/crm/self/v2/doctor/time/list") + Result doctorTimeList(@RequestBody AppointmentAutoMateDto dto); + + /** 棰勭害椤圭洰SPU */ + @PostMapping("/appointment/crm/self/v2/spu/list") + Result spuList(); + + /** 棰勭害椤圭洰 */ + @PostMapping("/appointment/crm/self/v2/project/list") + Result projectList(@RequestBody AppointmentDto dto); + + /** 鐢ㄦ埛棰勭害鍒楄〃 */ + @PostMapping("/appointment/crm/self/v2/list") + Result list(@RequestBody UserDto dto); + + /** 鑷姪棰勭害鍖归厤鏃堕棿 */ + @PostMapping("/appointment/crm/self/v2/mate/time") + Result mateTime(@RequestBody AppointmentAutoMateDto dto); + + /** 鏂板棰勭害 */ + @PostMapping("/appointment/crm/self/v2/add") + Result add(@RequestBody AppointmentV2Dto dto); + + /** 鍙栨秷棰勭害 */ + @PostMapping("/appointment/crm/self/v2/cancel") + Result cancel(@RequestBody AppointmentV2Dto dto); +} -- Gitblit v1.8.0