package com.sckw.fleet.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.fleet.model.KwfTruckReport;
import com.sckw.fleet.model.vo.KwfTableTopCount;
import com.sckw.fleet.model.vo.KwfTruckReportVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

/**
 * @desc 车辆上报 Mapper 接口
 * @author zk
 * @date 2023/7/6 0006
 */
@Mapper
public interface KwfTruckReportMapper extends BaseMapper<KwfTruckReport> {

    /**
     * 统计
     * @param params
     * @return
     */
    List<KwfTableTopCount> statistics(Map<String, Object> params);

    /**
     * 分页查询
     * @param params
     * @return
     */
    List<KwfTruckReportVo> findPage(Map<String, Object> params);

    /**
     * 查询
     * @param params
     * @return
     */
    List<Map<String, Object>> findList(Map<String, Object> params);
}
