fhx
2024-04-16 8bb9c77d61c0d20e8a06e9185bf0a89a16dd6be2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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="phis-provider",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);
}