package com.njcn.device.pms.api;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pms.api.fallback.PmsMidLedgerClientFallbackFactory;
import com.njcn.device.pms.api.fallback.StatationStatClientFallbackFactory;
import com.njcn.device.pms.pojo.dto.PmsStatationStatInfoDTO;
import com.njcn.device.pms.pojo.param.PmsBaseParam;
import com.njcn.device.pms.pojo.param.PmsStatationStatInfoParam;
import com.njcn.device.pms.pojo.po.PmsMidLedger;
import com.njcn.device.pms.pojo.po.StatationStat;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author yzh
 * @date 2022/10/18
 */
@FeignClient(value = ServerInfo.DEVICE,
        path = "/pms/pmsMidLedger",
        contextId = "pms/pmsMidLedger",
        fallbackFactory = PmsMidLedgerClientFallbackFactory.class)
public interface PmsMidLedgerClient {

    @PostMapping("getPmsMidLedgerList")
    HttpResult<List<PmsMidLedger>> getPmsMidLedgerList(@RequestBody List<String> ids);


}
