From 4f4d3351fb447d28bf561740cf1ca2e539206b8f Mon Sep 17 00:00:00 2001 From: rx <auster_i@163.com> Date: 星期五, 28 七月 2023 11:37:15 +0800 Subject: [PATCH] 新增医生排添加方法 --- phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java | 6 ++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java | 20 ++++++++++++++++++++ 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 249900a..2a1b367 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 @@ -23,4 +23,10 @@ Date endTime; Integer intervalTime; + private String remark; + private Integer timeType; + private Integer isSpec; + private String opEmpName; + private String opEmpId; + } diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java new file mode 100644 index 0000000..b6e0744 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java @@ -0,0 +1,20 @@ +package com.hz.his.feign.service.platform; + +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; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-doctor-time") +public interface SPhipDoctorTimeService { + + /** + * 鍖荤敓鎺掔彮鏂板 + * */ + @PostMapping(value = "/doctor/time/add") + Result addDoctorTime(@RequestBody DoctorTimeDto doctorTimeDto); +} \ No newline at end of file -- Gitblit v1.8.0