package com.ssj.dao.sys.fx.dao;


import com.ssj.bean.sys.fx.domain.MaterielHome;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MaterielHomeDao extends JpaRepository<MaterielHome,String> {
    Page<MaterielHome> findAll(Specification<MaterielHome> specification, Pageable sp);

    List<MaterielHome> findByPid(String pid);
}
