This commit is contained in:
2026-01-08 14:41:18 +08:00
parent 05cd7ab2b1
commit 50cd23a6a1

View File

@@ -159,7 +159,7 @@ namespace DOAN.Service.BZFM
#region excel
// 遍历每一行
for (int row = 2; row <= sheet.LastRowNum; row++)
for (int row = 1; row <= sheet.LastRowNum; row++)
{
IRow currentRow = sheet.GetRow(row);
if (currentRow != null) // 确保行不为空