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

com.kukababy.plus.dao.SelectFace Maven / Gradle / Ivy

/**
 * 
 */
package com.kukababy.plus.dao;

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

import com.kukababy.plus.pager.Page;
import com.kukababy.plus.pager.Pager;
import com.kukababy.plus.pager.SqlFilter;
import com.kukababy.plus.pojo.Param;
import com.kukababy.plus.pojo.PlusPO;

/**
 * 
 * 描述:
 * 
* * @author [email protected] * @date 2019年3月5日 下午10:35:11 */ public interface SelectFace { /** * *
* *
	 * 描述:
	 * 
* *
* * @param entityClass * @param id * @return */ T get(Class entityClass, Serializable id); List getAll(Class entityClass); List select(Class entityClass, Param... whereColVals); T selectOne(Class entityClass, Param... whereColVals); Map selectOne(String sql, Param... whereColVals); Map selectOne(boolean wherePre,String sql, Param... whereColVals); List> select(String sql, Param... whereColVals); List> select(boolean wherePre,String sql, Param... whereColVals); int getTotal(Class entityClass); int getTotal(Class entityClass, Param... whereColVals); int getTotal(String sql, SqlFilter sqlFilter); Page select(String sql, Pager pager, Class entityClass); List select(String sql, SqlFilter sqlFilter, Class entityClass); Page> select(String sql, Pager pager); List> select(String sql, SqlFilter sqlFilter); Page> selectHump(String sql, Pager pager); List> selectHump(String sql, SqlFilter sqlFilter); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy