| 限定符和类型 | 字段和说明 |
|---|---|
protected WrapperData |
wrapperData |
| 构造器和说明 |
|---|
BatchCrudImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchCrud |
addDelete(IBaseQuery... deletes)
按顺序添加delete语句
|
BatchCrud |
addInsert(IEntity... entities)
按顺序添加Insert语句
|
BatchCrud |
addInsertSelect(String insertTable,
String[] fields,
IQuery query)
添加 insert into a_table (fields) select fields from b_table where
|
BatchCrud |
addUpdate(IBaseUpdate... updates)
按顺序添加update语句
|
String |
batchSql() |
WhereBase |
where()
返回where
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInsertSelect, batch, setDbTypegetWrapperData, hint, hintprotected final WrapperData wrapperData
public String batchSql()
public BatchCrud addUpdate(IBaseUpdate... updates)
BatchCrudpublic BatchCrud addDelete(IBaseQuery... deletes)
BatchCrudpublic BatchCrud addInsertSelect(String insertTable, String[] fields, IQuery query)
BatchCrudaddInsertSelect 在接口中 BatchCrudinsertTable - 要插入数据的表名, inset into insertTablefields - 要插入的字段列表, a_table fieldsquery - 要插入的字段值, query: select xxx from b_tableIEntityMapper.insertSelect(String[], IQuery)Copyright © 2021. All rights reserved.