public abstract class SmartDbDaoSupport<T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<T> |
entityClass |
protected SmartDb |
smartDb |
| 构造器和说明 |
|---|
SmartDbDaoSupport() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
batchInsert(List<T> list) |
long |
count() |
int |
delete(T t) |
int |
deleteAll() |
int |
deleteByPrimaryKey(Serializable... keys) |
T |
insert(T t) |
T |
insertSelective(T t) |
PaginateResult<T> |
paginate(PaginateParam paginateParam) |
List<T> |
selectAll() |
T |
selectByPrimaryKey(Serializable... keys) |
int |
update(T t) |
int |
updateSelective(T t) |
public long count()
public T selectByPrimaryKey(Serializable... keys)
public PaginateResult<T> paginate(PaginateParam paginateParam)
public int delete(T t)
public int deleteAll()
public int deleteByPrimaryKey(Serializable... keys)
public int updateSelective(T t)
public int update(T t)
Copyright © 2020. All rights reserved.