package com.yuanchu.mom.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.yuanchu.mom.dto.IncidentReportAddDto;
|
import com.yuanchu.mom.dto.IncidentReportExportWordDto;
|
import com.yuanchu.mom.excel.IncidentReportExport;
|
import com.yuanchu.mom.pojo.IncidentReport;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 设备验收添加验收字段表 Mapper 接口
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2024-09-19 03:54:49
|
*/
|
public interface IncidentReportMapper extends BaseMapper<IncidentReport> {
|
|
IPage<IncidentReportAddDto> getByDeviceId(Page page, @Param("deviceId") Integer deviceId, @Param("processNumber") String processNumber);
|
|
IncidentReportAddDto getShowIncidentReport(Integer id);
|
|
List<IncidentReportExport> incidentReportExport(Integer deviceId);
|
|
/**
|
* 导出验收报告
|
* @param deviceId 设备id
|
* @param processNumber 流程号
|
* @return
|
*/
|
IncidentReportExportWordDto acceptanceCertificateExport(@Param("deviceId") Integer deviceId,@Param("processNumber") String processNumber);
|
}
|