From 5b47988e303e74fc3440ee67a95dbeba58dd50e1 Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期三, 05 七月 2023 18:49:10 +0800 Subject: [PATCH] 查询医生排班接口优化 --- phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java | 7 +++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java b/phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java index 8d3062e..249900a 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java @@ -3,6 +3,8 @@ import com.hz.his.dto.PageDto; import lombok.Data; +import java.util.Date; + /** * @ClassName DoctorTimeDto * @Description 鍖荤敓鎺掔彮dto @@ -16,4 +18,9 @@ String monthStr; String shopId; String doctorId; + String dayTime; + Date startTime; + Date endTime; + Integer intervalTime; + } diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java index 438240e..436ebb1 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java @@ -26,5 +26,24 @@ @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); } -- Gitblit v1.8.0