package com.yh.saas.plugin.yiliangyiyun.mapper;

import com.yh.saas.plugin.yiliangyiyun.entity.DriverViewInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 记录司机信息 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-29
 */
public interface DriverViewInfoMapper extends BaseMapper<DriverViewInfo> {

    /**
     * 根据条件查询司机总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询司机列表
     *
     * @param pageView
     * @return
     */
    List<DriverViewInfo> getListByCondition(Map<String, Object> pageView);
}
