package com.yc.ship.module.trade.service.report;

import com.yc.ship.framework.common.pojo.PageResult;
import com.yc.ship.module.trade.controller.admin.report.vo.PrepaidRechargeLedgerPageReqVO;
import com.yc.ship.module.trade.controller.admin.report.vo.PrepaidRechargeLedgerRespVO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 预存款充值流水 Service 接口
 *
 * @author 管理员
 */
public interface PrepaidRechargeLedgerService {

    /**
     * 查询预存款充值流水分页
     *
     * @param pageReqVO 分页查询条件
     * @return 分页结果
     */
    PageResult<PrepaidRechargeLedgerRespVO> getPrepaidRechargeLedgerPage(PrepaidRechargeLedgerPageReqVO pageReqVO);

    /**
     * 导出预存款充值流水 Excel
     *
     * @param pageReqVO 查询条件
     * @param response  HTTP响应
     * @throws IOException IO异常
     */
    void exportPrepaidRechargeLedgerExcel(PrepaidRechargeLedgerPageReqVO pageReqVO,
                                          HttpServletResponse response) throws IOException;

}
