package com.tykj.model.dao;


import com.tykj.model.entity.Quote;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @Description TODO
 * @Author WWW
 * @Date 2021/5/17 15:23
 */
public interface QuoteDao extends JpaRepository<Quote, Integer>, JpaSpecificationExecutor<Quote> {

    /**
     * 根据Columnid查询全部
     * @param id
     * @return
     */
    List<Quote> findAllByColumnId(Integer id);

}
