package com.jeequan.jeepay.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeequan.jeepay.db.entity.RouteRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 * 策略运行结果 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2024-05-09
 */
public interface RouteRecordMapper extends BaseMapper<RouteRecord> {

    /**
     * 分页查询
     * @param page
     * @param entity
     * @param dateRange
     * @return
     */
    IPage<RouteRecord> pageList(@Param("page") Page<RouteRecord> page, @Param("entity") RouteRecord entity, @Param("date") Date[] dateRange);
}
