| 限定符和类型 | 字段和说明 |
|---|---|
protected WrapperData |
data |
| 构造器和说明 |
|---|
BatchCrudImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchCrud |
addDelete(IQuery... 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(IUpdate... updates)
按顺序添加update语句
|
String |
batchSql(IMapping mapping,
SqlKit sqlKit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInsertSelect, batchprotected final WrapperData data
public 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 © 2022. All rights reserved.