wlzboy
2026-04-01 c459808efab29dc1b8439fbb90556bdb16f4c88b
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
package com.ruoyi.system.mapper;
 
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.domain.VehicleAlertConfig;
 
/**
 * 车辆告警配置Mapper接口
 * 
 * @author ruoyi
 * @date 2026-01-12
 */
public interface VehicleAlertConfigMapper 
{
    /**
     * 查询车辆告警配置
     * 
     * @param configId 车辆告警配置主键
     * @return 车辆告警配置
     */
    public VehicleAlertConfig selectVehicleAlertConfigByConfigId(Long configId);
 
    /**
     * 查询车辆告警配置列表
     * 
     * @param vehicleAlertConfig 车辆告警配置
     * @return 车辆告警配置集合
     */
    public List<VehicleAlertConfig> selectVehicleAlertConfigList(VehicleAlertConfig vehicleAlertConfig);
 
    /**
     * 查询车辆的配置(优先级:车辆 > 部门 > 全局)
     * 
     * @param vehicleId 车辆ID
     * @param deptId 部门ID
     * @return 车辆告警配置
     */
    public VehicleAlertConfig selectConfigByVehicle(@Param("vehicleId") Long vehicleId, @Param("deptId") Long deptId);
 
    /**
     * 新增车辆告警配置
     * 
     * @param vehicleAlertConfig 车辆告警配置
     * @return 结果
     */
    public int insertVehicleAlertConfig(VehicleAlertConfig vehicleAlertConfig);
 
    /**
     * 修改车辆告警配置
     * 
     * @param vehicleAlertConfig 车辆告警配置
     * @return 结果
     */
    public int updateVehicleAlertConfig(VehicleAlertConfig vehicleAlertConfig);
 
    /**
     * 删除车辆告警配置
     * 
     * @param configId 车辆告警配置主键
     * @return 结果
     */
    public int deleteVehicleAlertConfigByConfigId(Long configId);
 
    /**
     * 批量删除车辆告警配置
     * 
     * @param configIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVehicleAlertConfigByConfigIds(Long[] configIds);
}