| 程序包 | 说明 |
|---|---|
| org.teasoft.bee.osql | |
| org.teasoft.bee.osql.service |
| 限定符和类型 | 方法和说明 |
|---|---|
IncludeType |
ConditionAssistant.getIncludeType() |
static IncludeType |
IncludeType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static IncludeType[] |
IncludeType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> int |
SuidRich.delete(T entity,
IncludeType includeType)
根据实体对象entity删除数据
|
<T> int |
SuidRich.insert(T entity,
IncludeType includeType)
根据实体对象entity插入数据
|
<T> List<T> |
SuidRich.select(T entity,
IncludeType includeType)
根据实体对象entity查询数据.
|
<T> List<T> |
SuidRich.select(T entity,
IncludeType includeType,
Condition condition)
已过时。
Suid的 select(T entity,Condition condition)方法中,可以通过condition设置includeType.
|
<T> String |
SuidRich.selectJson(T entity,
IncludeType includeType)
根据实体对象entity查询数据
|
<T> String |
SuidRich.selectJson(T entity,
IncludeType includeType,
Condition condition)
根据实体对象entity查询数据,并以Json格式返回
|
Condition |
Condition.setIncludeType(IncludeType includeType)
设置IncludeType过滤参数.op,between,notBetween方法设置的字段,不受includeType的值影响.
|
<T> String |
ObjToSQLRich.toDeleteSQL(T entity,
IncludeType includeType) |
<T> String |
ObjToSQLRich.toInsertSQL(T entity,
IncludeType includeType) |
<T> String |
ObjToSQLRich.toSelectSQL(T entity,
IncludeType includeType) |
<T> String |
ObjToSQLRich.toSelectSQL(T entity,
IncludeType includeType,
Condition condition) |
<T> String |
ObjToSQLRich.toUpdateBySQL(T entity,
String whereFieldList,
IncludeType includeType) |
<T> String |
ObjToSQLRich.toUpdateSQL(T entity,
IncludeType includeType) |
<T> String |
ObjToSQLRich.toUpdateSQL(T entity,
String updateFieldList,
IncludeType includeType) |
<T> int |
SuidRich.update(T entity,
IncludeType includeType)
根据实体对象entity更新数据
|
<T> int |
SuidRich.update(T entity,
String updateFieldList,
IncludeType includeType)
根据实体对象entity更新数据,可以指定需要更新的字段.
|
<T> int |
SuidRich.updateBy(T entity,
String whereFieldList,
IncludeType includeType)
更新记录,且可以指定作为条件的字段和指定字段的过滤类型
update record according to whereFieldList.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> int |
ObjSQLRichAbstractServiceImpl.delete(T entity,
IncludeType includeType) |
<T> int |
ObjSQLRichAbstractServiceImpl.insert(T entity,
IncludeType includeType) |
<T> List<T> |
ObjSQLRichAbstractServiceImpl.select(T entity,
IncludeType includeType) |
<T> List<T> |
ObjSQLRichAbstractServiceImpl.select(T entity,
IncludeType includeType,
Condition condition) |
<T> String |
ObjSQLRichAbstractServiceImpl.selectJson(T entity,
IncludeType includeType) |
<T> String |
ObjSQLRichAbstractServiceImpl.selectJson(T entity,
IncludeType includeType,
Condition condition) |
<T> int |
ObjSQLRichAbstractServiceImpl.update(T entity,
IncludeType includeType) |
<T> int |
ObjSQLRichAbstractServiceImpl.update(T entity,
String updateFieldList,
IncludeType includeType) |
<T> int |
ObjSQLRichAbstractServiceImpl.updateBy(T entity,
String whereFieldList,
IncludeType includeType) |
Copyright © 2020. All rights reserved.