package com.ruoyi.project.dc.accidentInformation.mapper;
|
|
import java.util.List;
|
import com.ruoyi.project.dc.accidentInformation.domain.AccidentInformation;
|
|
/**
|
* 事故信息Mapper接口
|
*
|
* @author wm
|
* @date 2020-12-07
|
*/
|
public interface AccidentInformationMapper
|
{
|
/**
|
* 查询事故信息
|
*
|
* @param accidentId 事故信息ID
|
* @return 事故信息
|
*/
|
AccidentInformation selectAccidentInformationById(Long accidentId);
|
|
/**
|
* 查询事故信息列表
|
*
|
* @param accidentInformation 事故信息
|
* @return 事故信息集合
|
*/
|
List<AccidentInformation> selectAccidentInformationList(AccidentInformation accidentInformation);
|
|
/**
|
* 新增事故信息
|
*
|
* @param accidentInformation 事故信息
|
* @return 结果
|
*/
|
int insertAccidentInformation(AccidentInformation accidentInformation);
|
|
/**
|
* 修改事故信息
|
*
|
* @param accidentInformation 事故信息
|
* @return 结果
|
*/
|
int updateAccidentInformation(AccidentInformation accidentInformation);
|
|
/**
|
* 删除事故信息
|
*
|
* @param accidentId 事故信息ID
|
* @return 结果
|
*/
|
int deleteAccidentInformationById(Long accidentId);
|
|
/**
|
* 批量删除事故信息
|
*
|
* @param accidentIds 需要删除的数据ID
|
* @return 结果
|
*/
|
int deleteAccidentInformationByIds(String[] accidentIds);
|
}
|