1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cn.iocoder.yudao.module.mes.dal.mysql.qc.ledger;
 
import cn.iocoder.yudao.module.mes.controller.admin.qc.ledger.vo.MesQcInspectionLedgerPageReqVO;
import cn.iocoder.yudao.module.mes.controller.admin.qc.ledger.vo.MesQcInspectionLedgerRespVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * MES 检测结果台账 Mapper
 *
 * 使用 UNION ALL SQL 从四类检验单(IQC/IPQC/OQC/RQC)拉取检验单,再关联检验结果明细与检测项,一行一个检测项结果
 */
@Mapper
public interface MesQcInspectionLedgerMapper {
 
    IPage<MesQcInspectionLedgerRespVO> selectInspectionLedgerPage(IPage<MesQcInspectionLedgerRespVO> page,
                                                                 @Param("reqVO") MesQcInspectionLedgerPageReqVO reqVO);
 
}