All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.wboost.common.base.service.BaseJpaService Maven / Gradle / Ivy

package top.wboost.common.base.service;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.domain.Specification;

import top.wboost.common.base.page.QueryPage;

/**
 * 使用JPA Service公共基础类
 * @className BaseJpaService
 * @author jwSun
 * @date 2017年6月28日 下午8:10:54
 * @version 1.0.0
 * @param 
 */
public interface BaseJpaService extends BaseService {

    /**
     * 根据调传入条件查询List
     * @param Specification specification
     */
    public Page findList(Specification spec);

    /**
     * 根据调传入条件查询List
     * @param Specification specification
     * @param basePage 分页参数
     */
    public Page findList(Specification spec, QueryPage basePage);

    //**************************自定义功能*************************************//

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy