public interface Suid
| 限定符和类型 | 方法和说明 |
|---|---|
<T> int |
delete(T entity)
根据实体对象entity删除数据 According to entity object delete record.
|
<T> int |
insert(T entity)
根据实体对象entity插入数据 According to entity object insert record.
|
<T> List<T> |
select(T entity)
根据实体对象entity查询数据
According to entity object select records from database.
|
<T> int |
update(T entity)
根据实体对象entity更新数据 According to entity object update database.
|
<T> List<T> select(T entity)
entity - 与表对应的实体对象,且不能为空
entity中非null且非空字符串作为过虑条件,操作符是等号.eg:field=value
entity corresponding to table and can not be null.
If the field value is not null and not empty string as filter condition,
the operator is equal sign.eg:field=value<T> int update(T entity)
entity - 与表对应的实体对象,且不能为空;entity中id属性不能为空,作为过虑条件
entity中非null且非空字符串将更新到数据库(id除外)The entity corresponding to table and can not be null.
The ID field of entity cannot be null and as filter condition.
The not null and not empty string will update to database except ID.,
SuidRich#update(T entity,String updateFieldList)<T> int insert(T entity)
entity - 与表对应的实体对象,且不能为空
entity中非null且非空字符串将插入到数据库
The entity corresponding to table and can not be null.
The not null and not empty string will insert to database.<T> int delete(T entity)
entity - 与表对应的实体对象,且不能为空
entity中非null且非空字符串作为过虑条件,操作符是等号.eg:field=value
The entity corresponding to table and can not be null.
If the field value is not null and not empty string as filter condition,
the operator is equal sign.eg:field=valueCopyright © 2019. All rights reserved.