package com.ssj.framework.basic.config.dao;

import com.ssj.framework.basic.config.bean.Config;
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;


/**
 * 
 * 类名称：ConfigDao<br>
 * 类描述：系统参数数据访问接口<br>
 * @version v1.0
 *
 */
@Repository
public interface ConfigDao extends JpaRepository<Config, String> {

	Config findByParamCode(String paramCode);
	
	public Page<Config> findAll(Specification<Config> specification, Pageable page);
}
