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

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

import java.util.List;

/**
* @Author
* @Description：
* @Date:
* @Modified By:
*/
public interface RecycledMaterialCaseDao extends BaseDao<RecycledMaterialCase, Long>{

    @Query(value = "SELECT * FROM mcs_recycled_material_case where case_no=?1 ", nativeQuery = true)
    List<RecycledMaterialCase> findByCaseNo(String caseNo);
}
