From fd81ad27fb402641899bab57433a16213f9eaa3e Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期二, 04 七月 2023 14:50:37 +0800 Subject: [PATCH] 新增查询医生排班接口 --- phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java | 19 +++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java | 30 ++++++++++++++++++++++++++++++ 2 files changed, 49 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 new file mode 100644 index 0000000..8d3062e --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java @@ -0,0 +1,19 @@ +package com.hz.his.dto.doctorTime; + +import com.hz.his.dto.PageDto; +import lombok.Data; + +/** + * @ClassName DoctorTimeDto + * @Description 鍖荤敓鎺掔彮dto + * @Author wrh + * @Date 2023/7/4 14:40 + * @Version 1.0 + */ +@Data +public class DoctorTimeDto extends PageDto { + + String monthStr; + String shopId; + String doctorId; +} 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 new file mode 100644 index 0000000..438240e --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java @@ -0,0 +1,30 @@ +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); + + +} -- Gitblit v1.8.0