济菏高速数据中心代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

87 lines
2.1 KiB

package com.zc.business.service;
import java.util.HashMap;
import java.util.List;
import com.ruoyi.common.core.domain.AjaxResult;
import com.zc.business.domain.DcWarning;
import com.zc.business.domain.DcWarningBatchConvert;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 预警信息Service接口
*
* @author ruoyi
* @date 2024-01-26
*/
public interface IDcWarningService
{
/**
* 查询预警信息
*
* @param id 预警信息主键
* @return 预警信息
*/
public HashMap<String, Object> selectDcWarningById(String id);
/**
* 查询预警信息列表
*
* @param dcWarning 预警信息
* @return 预警信息集合
*/
List<HashMap<String,Object>> selectDcWarningList(DcWarning dcWarning);
//导出
List<DcWarning> export(DcWarning dcWarning);
/**
* 新增预警信息
*
* @param dcWarning 预警信息
* @return 结果
*/
int insertDcWarning(DcWarning dcWarning);
/**
* 修改预警信息
*
* @param dcWarning 预警信息
* @return 结果
*/
int updateDcWarning(DcWarning dcWarning);
/**
* 批量删除预警信息
*
* @param id 需要删除的预警信息主键集合
* @return 结果
*/
int deleteDcWarningByIds(String id);
/**
* 删除预警信息信息
*
* @param id 预警信息主键
* @return 结果
*/
int deleteDcWarningById(Integer id);
//感知事件转交通事件
AjaxResult updateWarningConvert(DcWarning dcWarning);
//感知事件删除
int deleteDcWarningByStringId(DcWarning dcWarning);
List<HashMap<String,Object>> selectDcWarningoTherConfig(DcWarning dcWarning);
/**
* @Description 感知事件批量转换
*
* @author liuwenge
* @date 2024/3/16 16:35
* @param dcWarningBatchConvert
* @return com.ruoyi.common.core.domain.AjaxResult
*/
AjaxResult batchConvert(DcWarningBatchConvert dcWarningBatchConvert);
//定时结束部分事件
Integer updateEndSection();
}