package com.ssj.service.sys.fx.service;

import com.ssj.bean.sys.fx.domain.MaterielHome;
import com.ssj.framework.core.common.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface MaterielHomeService extends BaseService<MaterielHome,String> {

    /**
     * 带分页查询
     * @param params
     * @param sp
     * @return
     * @throws Exception
     */
    public Page<MaterielHome> findByPage(Map<String, Object> params, Pageable sp) throws Exception;

    List<MaterielHome> findByPid(String pid);
}
