rx
2023-10-18 b971adc161ad67458d6263f25dffad649a31b58d
执行指标报表
2个文件已添加
49 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/report/ShopIndicatorsDto.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopIndicatorsService.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/report/ShopIndicatorsDto.java
New file
@@ -0,0 +1,29 @@
package com.hz.his.dto.report;
import java.util.List;
/***
 * 门店-咨询师 指标数据 dto
 */
public class ShopIndicatorsDto {
    //参数
    private List<String> shopIdList;
    private List<String> timeList;
    public List<String> getShopIdList() {
        return shopIdList;
    }
    public void setShopIdList(List<String> shopIdList) {
        this.shopIdList = shopIdList;
    }
    public List<String> getTimeList() {
        return timeList;
    }
    public void setTimeList(List<String> timeList) {
        this.timeList = timeList;
    }
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopIndicatorsService.java
New file
@@ -0,0 +1,20 @@
package com.hz.his.feign.service.platform.bi;
import com.hx.resultTool.Result;
import com.hz.his.dto.report.ShopIndicatorsDto;
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-shop-indicators")
public interface BiShopIndicatorsService {
    /*** 咨询师-评分列表 */
    @PostMapping("/admin/shop/indicators/list")
    Result shopEmpDeductionList(@RequestBody(required = false) ShopIndicatorsDto shopIndicatorsDto);
}