fix: adjust batch size for SQL Server parameter limit (2100 max params)

- SQL Server has a maximum of 2100 parameters per query
- Each record has 28 columns, so max batch is ~71 records (2000/28)
- Fixed syntax error: removed extra closing brace in extractor.ts
- Added debug logging for batch insert parameters
This commit is contained in:
Misaka_Company
2026-03-04 13:24:50 +08:00
parent 63ea81e0d6
commit 5497e86b58
2 changed files with 50 additions and 12 deletions

View File

@@ -281,7 +281,6 @@ export class ExtractorService {
}
}
}
}
/**
* Import merged Excel data to database