fwq
2024-02-05 adcabd701f88d4ce8892dc07c516ca1d0a9e308b
提交 | 用户 | age
fd81ad 1 package com.hz.his.feign.service.phis;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.doctorTime.DoctorTimeDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8 import org.springframework.web.bind.annotation.RequestParam;
9
10 import java.math.BigDecimal;
11
12 /**
13  * @ClassName SActivityController
14  * @Description 活动规则
15  * @Author Wrh
16  * @Date 2022/8/8 17:36
17  * @Version 1.0
18  */
19 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "doctorTime")
20 public interface SDoctorTimeService {
21
22     /**
23      * 获取医生排班列表
24      * @return Result
25      */
26     @PostMapping(value = "/doctor/time/list")
27     Result list(@RequestBody DoctorTimeDto dto);
28
5b4798 29     /**
W 30      * 医生排班时间信息
31      * @return Result
32      */
33     @PostMapping(value = "/doctor/time/info")
34     Result info(@RequestBody DoctorTimeDto dto);
fd81ad 35
5b4798 36     /**
W 37      * 判断医生排班时间是否被占用
38      * @return Result
39      */
40     @PostMapping(value = "/doctor/time/checkTimeIsHasAppointment")
41     Result checkTimeIsHasAppointment(@RequestBody DoctorTimeDto dto);
42
43     /**
44      * 医生排班时间详情
45      * @return Result
46      */
47     @PostMapping(value = "/doctor/time/details")
48     Result details(@RequestBody DoctorTimeDto dto);
fd81ad 49 }