fhx
2024-04-16 8bb9c77d61c0d20e8a06e9185bf0a89a16dd6be2
提交 | 用户 | age
144afd 1 package com.hz.his.feign.service.platform.bi;
C 2
3 import com.hx.resultTool.Result;
f01191 4 import com.hz.his.dto.report.CashierSettlementDto;
F 5 import com.hz.his.dto.report.DeductionSurfaceDto;
144afd 6 import org.springframework.cloud.openfeign.FeignClient;
C 7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**bi的导出程序
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
13 @FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-export")
14 public interface SExportService {
15
16     /**
17      * 导出出纳结算表
18      * 无转换
19      */
20     @PostMapping(value = "/exp/cashier/settlement")
6b2404 21     Result cashierSettlement(@RequestBody CashierSettlementDto cashierSettlementDto);
144afd 22
C 23     /**
24      * 导出收银报表
25      * 转换无
26      */
27     @PostMapping(value = "/exp/cashier/surface")
f01191 28     Result cashierSurface(@RequestBody CashierSettlementDto cashierSettlementDto);
144afd 29
C 30     /**
31      * 导出划扣报表
32      * 转换无
33      */
34     @PostMapping(value = "/exp/deduction/surface")
f01191 35     Result deductionSurface(@RequestBody DeductionSurfaceDto deductionSurfaceDto);
144afd 36
41ada8 37     /**
F 38      * 导出划扣快照报表
39      * 转换无
40      */
41     @PostMapping(value = "/exp/deduction/surface/data")
42     Result deductionSurfaceData(@RequestBody DeductionSurfaceDto deductionSurfaceDto);
144afd 43
C 44 }