songhuangfeng123
2022-07-20 aa3dadd645d92ee001d17d2b286486ebdf6ad654
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);
}