package com.zioinfo.mes.receiving;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReceivingMapper {
    List<MesReceiving> findAll(@Param("status") String status, @Param("itemCode") String itemCode);
    MesReceiving findById(@Param("id") Long id);
    int insert(MesReceiving r);
    int updateStatus(@Param("id") Long id, @Param("status") String status,
                     @Param("inspectionResult") String inspectionResult);
}
