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

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

import java.util.List;

/**
 * @Author
 * @Description：
 * @Date:
 * @Modified By:
 */
public interface CorrectingRecordDao extends BaseDao<CorrectingRecord, Integer> {

    @Query(value = "select * from alloy_correcting_record where alloy_master_alloy_id = ?1",nativeQuery = true)
    List<CorrectingRecord> findByAlloyMaterAlloyId(Integer id);
}