rx
2023-08-03 6d011911def657209e11413f2d25b8b40879f455
Merge branch 'rx-医生排班新增' into master-prod-new
1个文件已添加
1个文件已修改
26 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDoctorTimeService.java
New file
@@ -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 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-doctor-time")
public interface SPhipDoctorTimeService {
    /**
     * 医生排班新增
     * */
    @PostMapping(value = "/doctor/time/add")
    Result addDoctorTime(@RequestBody DoctorTimeDto doctorTimeDto);
}