package com.huigou.topsun.mes.unqualifiedMaterials.repository;

import com.huigou.topsun.mes.unqualifiedMaterials.domain.UnqualifiedMaterialsItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: xin.lu
 * @Date: 2024/08/28/14:41
 * @Description:
 */
public interface UnqualifiedMaterialsItemRepository extends JpaRepository<UnqualifiedMaterialsItem,String> {

    UnqualifiedMaterialsItem findByUnqualifiedMaterialsIdAndDept(String unqualifiedMaterialsId,String dept);

    List<UnqualifiedMaterialsItem> findByUnqualifiedMaterialsId(String unqualifiedMaterialsId);
}
