数据添加更改

master
lwj 2024-09-08 16:51:41 +08:00
parent a26f93e865
commit 150ddb1e70
1 changed files with 6 additions and 0 deletions

View File

@ -230,6 +230,12 @@ public class ProductServiceImpl implements ProductService {
private String buildBatchInsertSQL(String tableName, DataValue[][] batch) {
for (DataValue[] dataValues : batch) {
for (DataValue dataValue : dataValues) {
log.info("我的键{},值{}", tableName, dataValue);
}
}
StringBuilder columns = new StringBuilder("(");
StringBuilder values = new StringBuilder("VALUES ");
// 构建字段名