package com.njcn.prepare.harmonic.api.newalgorithm;


import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.newalgorithm.fallback.PmsStatisticsSpecialMonitorFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@org.springframework.cloud.openfeign.FeignClient(
        value = ServerInfo.PREPARE_BOOT,//对应模块名
        path = "/pmsStatisticsSpecialMonitor",//对应controller请求类
        fallbackFactory = PmsStatisticsSpecialMonitorFeignClientFallbackFactory.class//服务降级处理类
)
public interface PmsStatisticsSpecialMonitorFeignClient {

    @ApiOperation("监测指标数据质量问题汇总统计(r_quality_parameter_m表数据)")
    @PostMapping("pmsStatisticsSpecialMonitorHandler")
    HttpResult<Boolean> pmsStatisticsSpecialMonitorHandler(@RequestBody LineParam jobParam );
}
