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.RMpInfluenceFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        value = ServerInfo.PREPARE_BOOT,
        path = "/rMpInfluenceM",
        fallbackFactory = RMpInfluenceFallbackFactory.class
)
public interface RMpInfluenceFeignClient {

    @ApiOperation("影响特性(r_mp_emission_m表数据)")
    @PostMapping("rMpInfluenceMHandler")
    HttpResult<Boolean> rMpInfluenceMHandler(@RequestBody LineParam jobParam);
}
