phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCashierDetailService.java
New file @@ -0,0 +1,24 @@ package com.hz.his.feign.service.platform.bi; import com.hx.resultTool.Result; import com.hz.his.dto.report.CashierSettlementDto; 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 = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-cashier-detail") public interface BiCashierDetailService { /** * 出纳结算列表 */ @PostMapping("/cashier/detail/common/list") Result cashierDetailList(@RequestBody CashierSettlementDto cashierSettlementDto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiClinicPerfService.java
@@ -38,7 +38,9 @@ @PostMapping("/admin/clinic/perf/cashierDetailList") Result cashierDetailList(@RequestBody ClinicPerfReqDto reqDto); /** 导出 - 收银详细列表 */ @PostMapping("/admin/clinic/perf/exportCashierDetail") Result exportCashierDetail(@RequestBody ClinicPerfReqDto reqDto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantCashService.java
@@ -32,5 +32,8 @@ @PostMapping("/report/consultant/cash/total/list") Result totalList(@RequestBody ConsultantCashReportDto dto); /** 导出 - 咨询师现金业绩 */ @PostMapping("/report/consultant/cash/export") Result export(@RequestBody ConsultantCashReportDto dto); }