package com.jeequan.jeepay.service.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeequan.jeepay.db.entity.AgentInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 服务商信息表 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2022-03-12
 */
public interface AgentInfoMapper extends BaseMapper<AgentInfo> {

    Map<String, Object> countByAccount(@Param("ew") LambdaQueryWrapper<AgentInfo> wrapper);


    AgentInfo selectTopAgentInfo(@Param("isvNo") String isvNo);
}
