public class DBService<T extends BaseDbEntity> extends Object
| 构造器和说明 |
|---|
DBService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete(EasyapiBindSQLExecuter executer) |
void |
delete(T t) |
void |
deleteById(Long id) |
T |
get(EasyapiBindSQLExecuter executer) |
T |
get(T t) |
T |
getById(Long id) |
protected EasyapiBindSqlExecution |
getExecution() |
void |
insert(T t) |
void |
insertAny(Collection<T> collection) |
List<T> |
list(EasyapiBindSQLExecuter executer) |
List<T> |
list(T t) |
EasyApiBindSqlResult |
page(EasyapiBindSQLExecuter executer,
Integer current,
Integer showCount) |
EasyApiBindSqlResult |
page(T t,
Integer current,
Integer showCount) |
void |
update(EasyapiBindSQLExecuter executer) |
void |
update(T t) |
public void insert(T t)
public void insertAny(Collection<T> collection)
public T get(EasyapiBindSQLExecuter executer)
public List<T> list(EasyapiBindSQLExecuter executer)
public void update(T t)
public void update(EasyapiBindSQLExecuter executer)
public void deleteById(Long id)
public void delete(T t)
public void delete(EasyapiBindSQLExecuter executer)
public EasyApiBindSqlResult page(T t, Integer current, Integer showCount)
public EasyApiBindSqlResult page(EasyapiBindSQLExecuter executer, Integer current, Integer showCount)
protected EasyapiBindSqlExecution getExecution()
Copyright © 2021. All rights reserved.