package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; import com.hz.his.dto.doctorTime.DoctorTimeDto; 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.RequestParam; import java.math.BigDecimal; /** * @ClassName SActivityController * @Description 活动规则 * @Author Wrh * @Date 2022/8/8 17:36 * @Version 1.0 */ @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "doctorTime") public interface SDoctorTimeService { /** * 获取医生排班列表 * @return Result */ @PostMapping(value = "/doctor/time/list") Result list(@RequestBody DoctorTimeDto dto); /** * 医生排班时间信息 * @return Result */ @PostMapping(value = "/doctor/time/info") Result info(@RequestBody DoctorTimeDto dto); /** * 判断医生排班时间是否被占用 * @return Result */ @PostMapping(value = "/doctor/time/checkTimeIsHasAppointment") Result checkTimeIsHasAppointment(@RequestBody DoctorTimeDto dto); /** * 医生排班时间详情 * @return Result */ @PostMapping(value = "/doctor/time/details") Result details(@RequestBody DoctorTimeDto dto); }