package com.njcn.process.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.process.api.fallback.SupvStatisticReportMFallbackFactory;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;

/**
 * 过程监督月报统计
 * @author cdf
 * @date 2023/4/13
 */
@FeignClient(value = ServerInfo.PROCESS,path = "/supv/report",fallbackFactory = SupvStatisticReportMFallbackFactory.class)
public interface SupvStatisticReportMFeignClient {

    @PostMapping("/statisticReport")
    HttpResult<Boolean> statisticReport(@RequestParam("timeId") String timeId);

}
