package cn.com.countrygarden.bi.main.dao.resident;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.model.resident.Payment;
import cn.com.countrygarden.bi.main.model.resident.ResidentPaymentAggregate;
import cn.com.countrygarden.bi.main.model.resident.ResidentPaymentData;
import com.github.pagehelper.PageRowBounds;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;


public interface PaymentMapper extends Mapper<Payment> {
    List<ResidentPaymentData> findBy(HashMap<String,Object> paramters, PageRowBounds pageRowBounds);
    ResidentPaymentAggregate aggregate(@Param("contractId") Integer contractId);
}