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

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

import java.util.List;

public interface CrucibleCheckDAO extends BaseDao<CrucibleCheck, Integer> {

    @Query(value = "SELECT * FROM zhxx_operate_crucible_check WHERE name=?1 ", nativeQuery = true)
    List<CrucibleCheck> findByName(String name);
}
