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.
84 lines
1.8 KiB
84 lines
1.8 KiB
package com.zc.business.mapper;
|
|
|
|
|
|
import com.zc.business.domain.DcEmergencyPlans;
|
|
import com.zc.business.domain.DcEvent;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 事件预案Mapper接口
|
|
*
|
|
* @author wangjiabao
|
|
* @date 2024-02-21
|
|
*/
|
|
public interface DcEmergencyPlansMapper{
|
|
|
|
/**
|
|
* 查询事件预案
|
|
*
|
|
* @param dcEmergencyPlans 事件预案
|
|
* @return 结果
|
|
*/
|
|
List<DcEmergencyPlans> selectDcEmergencyPlansList(DcEmergencyPlans dcEmergencyPlans);
|
|
|
|
/**
|
|
* 查询事件预案
|
|
*
|
|
* @param dcEmergencyPlans 事件预案
|
|
* @return 结果
|
|
*/
|
|
List<DcEmergencyPlans> selectDcEmergencyPlansByOne(DcEmergencyPlans dcEmergencyPlans);
|
|
|
|
/**
|
|
* 根据事件id查询事件预案
|
|
*
|
|
* @param id 事件预案
|
|
* @return 结果
|
|
*/
|
|
DcEmergencyPlans selectDcEmergencyPlans(Integer id);
|
|
|
|
/**
|
|
* 交通事件-根据事件类型查询事件预案
|
|
*
|
|
* @param event 事件预案
|
|
* @return 结果
|
|
*/
|
|
List<DcEmergencyPlans> selectDcEmergencyPlansByEventType(DcEvent event);
|
|
|
|
/**
|
|
* 感知事件-根据事件类型查询事件预案
|
|
*
|
|
* @param eventType 事件预案
|
|
* @return 结果
|
|
*/
|
|
List<DcEmergencyPlans> selectDcEmergencyPlansByWarningType(int eventType);
|
|
|
|
/**
|
|
* 新增事件预案
|
|
*
|
|
* @param dcEmergencyPlans 事件预案
|
|
* @return 结果
|
|
*/
|
|
int insertDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans);
|
|
|
|
/**
|
|
* 修改事件预案
|
|
*
|
|
* @param dcEmergencyPlans 事件预案
|
|
* @return 结果
|
|
*/
|
|
int updateDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans);
|
|
|
|
/**
|
|
* 批量删除事件预案
|
|
*
|
|
* @param ids 事件预案
|
|
* @return 结果
|
|
*/
|
|
int deleteDcEmergencyPlans(String[] ids);
|
|
|
|
|
|
}
|
|
|
|
|
|
|