
com.github.zzycjcg.foundation.dao.BaseDao Maven / Gradle / Ivy
The newest version!
package com.github.zzycjcg.foundation.dao;
import java.util.List;
/**
* 基础dao接口.
*
* @author zhiyong zhu at 2015-10-6
* @param the generic type
* @since v0.0.1
*/
public interface BaseDao
{
/**
* Insert.
*
* @param object the object
*/
void insert(Object object);
/**
* Update.
*
* @param object the object
* @return the int
*/
int update(Object object);
/**
* Delete.
*
* @param object the object
* @return the int
*/
int delete(Object object);
/**
* Query list.
*
* @param object the object
* @return the list
*/
List queryList(Object object);
/**
* Query all.
*
* @return the list
*/
List queryAll();
/**
* Query single.
*
* @param object the object
* @return the t
*/
T querySingle(Object object);
/**
* Query count.
*
* @param object the object
* @return the int
*/
int queryCount(Object object);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy