package com.gkhy.safePlatform.incidentManage.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.safePlatform.incidentManage.entity.AccidentReportFileInfo; import com.gkhy.safePlatform.incidentManage.entity.AccidentReportFileInfoDO; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface AccidentReportFileInfoRepository extends BaseMapper { List selectByAccidentReportId(@Param("accidentReportId") Long accidentReportId); void addAccidentReportFile(AccidentReportFileInfo accidentReportFileInfo); void deleteAccidentReportFileByAccidentReportId(@Param("accidentReportId") Long accidentReportId); void deleteAccidentReportFileByIds(List ids); }