修改查询语句
parent
bad49701ba
commit
460aa525d3
|
@ -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); // 开启事务
|
||||
|
|
Loading…
Reference in New Issue