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

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

There is a newer version: 4.0.1
Show newest version
package top.wboost.common.base.old.service;

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

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

/**
 * 使用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