public interface BatchCrud
| 限定符和类型 | 方法和说明 |
|---|---|
BatchCrud |
addDelete(IQuery... deletes)
按顺序添加delete语句
|
BatchCrud |
addInsert(IEntity... entities)
按顺序添加Insert语句
|
default BatchCrud |
addInsertSelect(String insertTable,
FieldMapping[] fields,
IQuery query)
添加 insert into a_table (fields) select fields from b_table where
|
BatchCrud |
addInsertSelect(String insertTable,
String[] fields,
IQuery query)
添加 insert into a_table (fields) select fields from b_table where
|
BatchCrud |
addUpdate(IUpdate... updates)
按顺序添加update语句
|
static BatchCrud |
batch()
构造批量增删改构造器
|
static BatchCrud batch()
BatchCrud addInsertSelect(String insertTable, String[] fields, IQuery query)
insertTable - 要插入数据的表名, inset into insertTablefields - 要插入的字段列表, a_table fieldsquery - 要插入的字段值, query: select xxx from b_tableIEntityMapper.insertSelect(String[], IQuery)default BatchCrud addInsertSelect(String insertTable, FieldMapping[] fields, IQuery query)
insertTable - 要插入数据的表名, inset into insertTablefields - 要插入的字段列表, a_table fieldsquery - 要插入的字段值, query: select xxx from b_tableIEntityMapper.insertSelect(String[], IQuery)Copyright © 2022. All rights reserved.