kongzy
2024-09-23 d015cc0b48ca51a2b93b6c60c91dc352a104b1e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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<AccidentReportFileInfo> {
 
    List<AccidentReportFileInfoDO> selectByAccidentReportId(@Param("accidentReportId") Long accidentReportId);
 
    void addAccidentReportFile(AccidentReportFileInfo accidentReportFileInfo);
 
    void deleteAccidentReportFileByAccidentReportId(@Param("accidentReportId") Long accidentReportId);
 
    void deleteAccidentReportFileByIds(List<Long> ids);
}