package com.jwipc.spe.service.impl;

import com.jwipc.spe.entity.MaterialBatchQualified;
import com.jwipc.spe.mapper.MaterialBatchQualifiedMapper;
import com.jwipc.spe.model.po.MaterialBatchQualifiedPO;
import com.jwipc.spe.service.IMaterialBatchQualifiedService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

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

/**
 * <p>
 * 物料批次合格率 服务实现类
 * </p>
 *
 * @author Al
 * @since 2024-04-11
 */
@Service
public class MaterialBatchQualifiedServiceImpl extends ServiceImpl<MaterialBatchQualifiedMapper, MaterialBatchQualified> implements IMaterialBatchQualifiedService {

    @Override
    public List<MaterialBatchQualifiedPO> getMesData( LocalDateTime startDate,
                                                      LocalDateTime endDate, int batchSize) {
        return this.baseMapper.selectMesData(startDate,endDate, batchSize);
    }
}
