package com.sptg.pay.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.sptg.pay.api.dto.PayCertificateDto;
import com.sptg.pay.api.entity.PayCertificate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zwx
 * @create 2020/5/25 10:23
 */
public interface PayCertificateMapper extends BaseMapper<PayCertificate> {

    public List<PayCertificate> getPayCertificatePage(@Param(value = "payCertificateDto") PayCertificateDto payCertificateDto, @Param(value = "page") Pagination page);

    public PayCertificate findPayCertificateByCondition(@Param(value = "payCertificateDto") PayCertificateDto payCertificateDto, @Param(value = "ew") Wrapper<PayCertificate> wrapper);
}
