package com.gkhy.safePlatform.incidentManage.service.baseService.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.gkhy.safePlatform.incidentManage.entity.AccidentReportFileInfo; import com.gkhy.safePlatform.incidentManage.entity.AccidentReportFileInfoDO; import com.gkhy.safePlatform.incidentManage.repository.AccidentReportFileInfoRepository; import com.gkhy.safePlatform.incidentManage.service.baseService.AccidentReportFileInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service("accidentReportFileInfoService") public class AccidentReportFileInfoServiceImpl extends ServiceImpl implements AccidentReportFileInfoService { @Autowired private AccidentReportFileInfoRepository accidentReportFileInfoRepository; @Override public List selectByAccidentReportId(Long id) { return accidentReportFileInfoRepository.selectByAccidentReportId(id); } @Override public void addAccidentReportFile(AccidentReportFileInfo AccidentReportFileInfo) { accidentReportFileInfoRepository.addAccidentReportFile(AccidentReportFileInfo); } @Override public void deleteAccidentReportFileByAccidentReportId(Long accidentReportId) { accidentReportFileInfoRepository.deleteAccidentReportFileByAccidentReportId(accidentReportId); } @Override public void deleteAccidentReportFileByIds(List ids) { accidentReportFileInfoRepository.deleteAccidentReportFileByIds(ids); } }