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.
73 lines
1.5 KiB
73 lines
1.5 KiB
1 year ago
|
package com.zc.business.service;
|
||
|
|
||
|
import com.zc.business.domain.DcEmergencyPlans;
|
||
|
import com.zc.business.domain.DcEvent;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 事件预案Service接口
|
||
|
*
|
||
|
* @author wangjiabao
|
||
|
* @date 2024-02-21
|
||
|
*/
|
||
|
public interface DcEmergencyPlansService {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 查询事件预案
|
||
|
*
|
||
|
* @param dcEmergencyPlans 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
List<DcEmergencyPlans> selectDcEmergencyPlansList(DcEmergencyPlans dcEmergencyPlans);
|
||
|
|
||
|
/**
|
||
|
* 根据事件id查询事件预案
|
||
|
*
|
||
|
* @param id 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
DcEmergencyPlans selectDcEmergencyPlans(Integer id);
|
||
|
|
||
|
/**
|
||
|
* 根据事件类型查询事件预案
|
||
|
*
|
||
|
* @param event 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
List<DcEmergencyPlans> selectDcEmergencyPlansByEventType(DcEvent event);
|
||
|
|
||
|
/**
|
||
|
* 新增事件预案
|
||
|
*
|
||
|
* @param dcEmergencyPlans 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int insertDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans);
|
||
|
|
||
|
/**
|
||
|
* 修改事件预案
|
||
|
*
|
||
|
* @param dcEmergencyPlans 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int updateDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans);
|
||
|
|
||
|
/**
|
||
|
* 批量修改事件预案
|
||
|
*
|
||
|
* @param dcEmergencyPlansList 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int updateBatchDcEmergencyPlans(List<DcEmergencyPlans> dcEmergencyPlansList);
|
||
|
|
||
|
/**
|
||
|
* 批量删除事件预案
|
||
|
*
|
||
|
* @param ids 事件预案
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int deleteDcEmergencyPlans(String[] ids);
|
||
|
}
|