fhx
2024-08-22 3d35b110673c93dc5dfbc5a93b5397ecd21ca928
Merge branch 'fhx-base-预约整合0808' into master-xlk-test
1个文件已添加
2个文件已修改
55 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentAutoMateDto.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/appointment/AppointmentDto.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
}
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;
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/appointment/SPhipCrmSelfV2Service.java
New file
@@ -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);
}