| | |
| | | package com.ruoyi.system.mapper; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.VehicleMileageStats; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * 车辆里程统计Mapper接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-01-15 |
| | | */ |
| | | public interface VehicleMileageStatsMapper |
| | | { |
| | | /** |
| | | * 查询车辆里程统计 |
| | | * |
| | | * @param statsId 车辆里程统计主键 |
| | | * @return 车辆里程统计 |
| | | */ |
| | | public VehicleMileageStats selectVehicleMileageStatsByStatsId(Long statsId); |
| | | |
| | | /** |
| | | * 查询车辆里程统计列表 |
| | | * |
| | | * @param vehicleMileageStats 车辆里程统计 |
| | | * @return 车辆里程统计集合 |
| | | */ |
| | | public List<VehicleMileageStats> selectVehicleMileageStatsList(VehicleMileageStats vehicleMileageStats); |
| | | |
| | | /** |
| | | * 新增车辆里程统计 |
| | | * |
| | | * @param vehicleMileageStats 车辆里程统计 |
| | | * @return 结果 |
| | | */ |
| | | public int insertVehicleMileageStats(VehicleMileageStats vehicleMileageStats); |
| | | |
| | | /** |
| | | * 修改车辆里程统计 |
| | | * |
| | | * @param vehicleMileageStats 车辆里程统计 |
| | | * @return 结果 |
| | | */ |
| | | public int updateVehicleMileageStats(VehicleMileageStats vehicleMileageStats); |
| | | |
| | | /** |
| | | * 删除车辆里程统计 |
| | | * |
| | | * @param statsId 车辆里程统计主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteVehicleMileageStatsByStatsId(Long statsId); |
| | | |
| | | /** |
| | | * 批量删除车辆里程统计 |
| | | * |
| | | * @param statsIds 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteVehicleMileageStatsByStatsIds(Long[] statsIds); |
| | | |
| | | /** |
| | | * 查询指定车辆和日期的统计记录 |
| | | * |
| | | * @param vehicleId 车辆ID |
| | | * @param statsDate 统计日期 |
| | | * @return 统计记录 |
| | | */ |
| | | public VehicleMileageStats selectByVehicleIdAndDate(@Param("vehicleId") Long vehicleId, @Param("statsDate") Date statsDate); |
| | | } |