导入
This commit is contained in:
@@ -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) // 确保行不为空
|
||||
|
||||
Reference in New Issue
Block a user