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

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

import java.util.List;

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

    @Query(value = "select * from fb_product_card where specification=?1 order by id desc ",nativeQuery = true)
    List<FbProductCard> findBySpecification(String specification);
}
