package com.usky.vpp.service;

import com.usky.common.core.bean.CommonPage;
import com.usky.vpp.domain.VppEnergyReadingMonthly;
import com.usky.vpp.domain.VppSettlementBill;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * VppSettlementService 业务接口
 */
public interface VppSettlementService {

    default Object stub(String action, Map<String, Object> params) {
        return null;
    }

    /**
     * 分页查询月度电量核算数据
     */
    CommonPage<VppEnergyReadingMonthly> pageReading(Long id, String customerName, String calcCycle,
                                                    Integer current, Integer size);

    /**
     * 导出月度电量核算数据（Excel）
     */
    void exportReading(String scope, String fileName, Long id, String customerName, String calcCycle,
                       Integer current, Integer size, HttpServletResponse response);

    /**
     * 分页查询电费账单
     */
    CommonPage<VppSettlementBill> pageBill(Long id, String customerName, Integer current, Integer size);

    /**
     * 导出电费账单数据（Excel）
     */
    void exportBill(String scope, String fileName, Long id, String customerName,
                    Integer current, Integer size, HttpServletResponse response);
}
