package com.yeejoin.equipmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.equipmanage.common.entity.WlCarMileage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 车量里程表 Mapper 接口
 *
 * @author duanwei
 * @date 2023-02-01
 */
public interface WlCarMileageMapper extends BaseMapper<WlCarMileage> {

	Page<WlCarMileage> page(Page<WlCarMileage> page,@Param("wlCarMileage") WlCarMileage wlCarMileage, @Param("mileageParameter") Double mileageParameter);

	Double totalMileage(String iotCode);

	List<WlCarMileage> list(@Param("date") String date);

}
