修改查询语句

master
lwj 2024-09-09 15:58:25 +08:00
parent bad49701ba
commit 460aa525d3
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ public int addProduct(Long basicId, Long tableId, DataValue[][] listList) {
AtomicInteger addCount = new AtomicInteger();
// 分割数据为较小的批次
List<DataValue[][]> batches = splitData(listList, 500);
List<DataValue[][]> batches = splitData(listList, 2000);
try (Connection conn = hikariDataSource.getConnection()) {
conn.setAutoCommit(false); // 开启事务