数据添加更改
parent
a26f93e865
commit
150ddb1e70
|
@ -230,6 +230,12 @@ public class ProductServiceImpl implements ProductService {
|
||||||
private String buildBatchInsertSQL(String tableName, DataValue[][] batch) {
|
private String buildBatchInsertSQL(String tableName, DataValue[][] batch) {
|
||||||
|
|
||||||
|
|
||||||
|
for (DataValue[] dataValues : batch) {
|
||||||
|
for (DataValue dataValue : dataValues) {
|
||||||
|
log.info("我的键{},值{}", tableName, dataValue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
StringBuilder columns = new StringBuilder("(");
|
StringBuilder columns = new StringBuilder("(");
|
||||||
StringBuilder values = new StringBuilder("VALUES ");
|
StringBuilder values = new StringBuilder("VALUES ");
|
||||||
// 构建字段名
|
// 构建字段名
|
||||||
|
|
Loading…
Reference in New Issue