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

org.iartisan.runtime.support.IBaseQueryService Maven / Gradle / Ivy

The newest version!
package org.iartisan.runtime.support;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import org.iartisan.runtime.bean.PageWrapper;
import org.iartisan.runtime.bean.Pagination;

import java.io.Serializable;
import java.util.List;

/**
 * 

* 通用服务 * * @author King * @since 2017/6/22 */ public interface IBaseQueryService extends IBaseService { /** * 查询所有分页数据 * @param page * @return */ PageWrapper getAllPageData(Pagination page); /** * 查询所有数据 * @return */ List getAllData(); List getListDataByObjs(T t); List getListDataByWrapper(Wrapper wrapper); PageWrapper getPageData(Pagination page, T t); /** * wrapper 条件查询 * * @param page * @param wrapper * @return */ PageWrapper getPageDataByWrapper(Pagination page, Wrapper wrapper); T getDataById(Serializable id); T getDataByObjs(T t); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy