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

com.mizhousoft.commons.mapper.PageableMapper Maven / Gradle / Ivy

package com.mizhousoft.commons.mapper;

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

import org.apache.ibatis.annotations.Param;

import com.mizhousoft.commons.data.domain.PageRequest;

/**
 * 分页 Mapper
 *
 * @version
 */
public interface PageableMapper extends CrudMapper
{
	/**
	 * 统计
	 * 
	 * @param request
	 * @return
	 */
	long countTotal(@Param("request") PageRequest request);

	/**
	 * 查询
	 * 
	 * @param rowOffset
	 * @param request
	 * @return
	 */
	List findPageData(@Param("rowOffset") long rowOffset, @Param("request") PageRequest request);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy