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.PayChannelConfigDto;
import com.sptg.pay.api.entity.PayChannelConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zwx
 * @create 2020/5/25 16:21
 */
public interface PayChannelConfigMapper extends BaseMapper<PayChannelConfig> {

    List<PayChannelConfig> getPayChannelConfigPage(@Param(value = "payChannelConfigDto") PayChannelConfigDto payChannelConfigDto, @Param(value = "page") Pagination page);

    PayChannelConfig findPayChannelConfigByCondition(@Param(value = "payChannelConfigDto") PayChannelConfigDto payChannelConfigDto, @Param(value = "ew") Wrapper<PayChannelConfig> wrapper);

}
