zss
9 天以前 51ec98113c6d49d0f7eec4e3c030e55e337e97db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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);
}