Fixiaobai
2023-11-17 2fb28b36f15de26249ae34160e1accf118c011c7
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
38
package com.chinaztt.mes.quality.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chinaztt.mes.quality.entity.QualityMainIfsReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
 
/**
 * @Description : 检测汇报对接ifs工序报工回应对照表mapper
 * @interfaceName : QualityMainIfsReportMapper
 * @Author : sll
 * @Date: 2022-07-19  19:57
 */
@Mapper
public interface QualityMainIfsReportMapper extends BaseMapper<QualityMainIfsReport>{
    /**
     * 根据汇报材料id判断是否对接过ifs工序报工
     * @param id
     * @return true:对接过;false:未对接过
     */
    Boolean isAlReportOperationBySystemNo(@Param("id") Long id);
 
    /**
     * 根据检测汇报id删除 检测汇报对接ifs工序报工回应对照表
     * @param reportId 检测汇报id
     */
    void delRecordsByReportId(@Param("reportId") Long reportId);
 
    /**
     * 根据检测汇报id获取 检测汇报对接ifs工序报工回应对照表
     * @param reportId 检测汇报id
     * @return
     */
    List<QualityMainIfsReport> getQualityMainIfsReportListByReportId(@Param("reportId") Long reportId);
}