wlzboy
2026-01-24 b2bd9fb71ee17d0ec73429f03dc87c87a0a38325
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
package com.ruoyi.system.service;
 
import java.util.List;
import com.ruoyi.system.domain.VehicleAlertConfig;
 
/**
 * 车辆告警配置Service接口
 * 
 * @author ruoyi
 * @date 2026-01-12
 */
public interface IVehicleAlertConfigService 
{
    /**
     * 查询车辆告警配置
     * 
     * @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 getConfigByVehicle(Long vehicleId, Long deptId);
 
    /**
     * 新增车辆告警配置
     * 
     * @param vehicleAlertConfig 车辆告警配置
     * @return 结果
     */
    public int insertVehicleAlertConfig(VehicleAlertConfig vehicleAlertConfig);
 
    /**
     * 修改车辆告警配置
     * 
     * @param vehicleAlertConfig 车辆告警配置
     * @return 结果
     */
    public int updateVehicleAlertConfig(VehicleAlertConfig vehicleAlertConfig);
 
    /**
     * 批量删除车辆告警配置
     * 
     * @param configIds 需要删除的车辆告警配置主键集合
     * @return 结果
     */
    public int deleteVehicleAlertConfigByConfigIds(Long[] configIds);
 
    /**
     * 删除车辆告警配置信息
     * 
     * @param configId 车辆告警配置主键
     * @return 结果
     */
    public int deleteVehicleAlertConfigByConfigId(Long configId);
}