package com.sw.mes.yb.alloy.dao;

import com.sw.mes.core.base.BaseDao;
import com.sw.mes.yb.alloy.entity.InspectionList;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @Author
 * @Description：
 * @Date:
 * @Modified By:
 */
public interface InspectionListDao extends BaseDao<InspectionList, Integer> {
    @Query(value = "select * from alloy_inspection_list where alloy_master_alloy_id = ?1", nativeQuery = true)
    List<InspectionList> findByAlloyMaterAlloyId(Integer id);
}