wlzboy
2025-11-13 0bf199cf85a36157113d217363bb96314956b75f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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);
}