package com.iformall.service;

import com.github.pagehelper.PageInfo;
import com.iformall.domain.po.WxPrepayment;
import com.iformall.domain.po.WxPrepaymentHistory;

/**
 * @author gongbiao
 */
public interface WxPrepaymentService {

    /**
     * 根据实体查询分页列表
     *
     * @param record
     * @param pageIndex
     * @param pageSize
     * @return
     */
    PageInfo<WxPrepayment> listAsPage(WxPrepayment record, Integer pageIndex, Integer pageSize);

    PageInfo<WxPrepaymentHistory> listHistoryAsPage(WxPrepaymentHistory wxPrepaymentHistory, Integer pageNum, Integer pageSize);

    void payFirst(WxPrepayment wxPrepayment);

    void payAgain(WxPrepayment wxPrepayment);

}
