package com.zioinfo.mes.certificate.mapper;

import com.zioinfo.mes.certificate.MesCertificate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CertificateMapper {
    List<MesCertificate> findAll(@Param("certType") String certType,
                                 @Param("itemCode") String itemCode,
                                 @Param("lotNo") String lotNo);
    MesCertificate findById(@Param("id") Long id);
    int countByNo(@Param("certificateNo") String certificateNo);
    int insert(MesCertificate c);
}
