debug: 添加原始Excel数据日志

This commit is contained in:
hailin 2026-01-21 19:46:31 -08:00
parent 390cc3131d
commit ca5de3add1
1 changed files with 6 additions and 0 deletions

View File

@ -261,6 +261,12 @@ export class BatchMiningService {
const today = new Date();
today.setHours(0, 0, 0, 0);
// 打印前5行原始数据用于调试
this.logger.log(`[parseExcelData] 前5行原始数据:`);
for (let i = 0; i < Math.min(5, rows.length); i++) {
this.logger.log(`[parseExcelData] 行${i}: ${JSON.stringify(rows[i])}`);
}
for (let i = 0; i < rows.length; i++) {
const row = rows[i];