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);
|
}
|