package com.jwipc.spe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.spe.entity.MaterialBatchQualified;
import com.jwipc.spe.model.po.MaterialBatchQualifiedPO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 物料批次合格率 Mapper 接口
 * </p>
 *
 * @author Al
 * @since 2024-04-11
 */
public interface MaterialBatchQualifiedMapper extends BaseMapper<MaterialBatchQualified> {

    List<MaterialBatchQualifiedPO> selectMesData(@Param("startDate") LocalDateTime startDate,
                                                 @Param("endDate") LocalDateTime endDate,
                                                 @Param("batchSize") int batchSize);
}
