修改查询语句

master
lwj 2024-09-09 16:02:02 +08:00
parent 460aa525d3
commit c17788ab20
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(); AtomicInteger addCount = new AtomicInteger();
// 分割数据为较小的批次 // 分割数据为较小的批次
List<DataValue[][]> batches = splitData(listList, 2000); List<DataValue[][]> batches = splitData(listList, 3000);
try (Connection conn = hikariDataSource.getConnection()) { try (Connection conn = hikariDataSource.getConnection()) {
conn.setAutoCommit(false); // 开启事务 conn.setAutoCommit(false); // 开启事务