Browse Source

导入导出共用类

zmq 1 year ago
parent
commit
7bffd3e6ef
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/platform/ZhonTai.Admin/Core/Helpers/NOPIHelper.cs

+ 3 - 0
src/platform/ZhonTai.Admin/Core/Helpers/NOPIHelper.cs

@@ -50,6 +50,9 @@ namespace ZhonTai.Admin.Core.Helpers
                                 rowList.Add(row.GetCell(j).ToString());
                                 rowList.Add(row.GetCell(j).ToString());
                             }
                             }
                         }
                         }
+                        else {
+                            rowList.Add("");
+                        }
                     }
                     }
                     if (rowList.Count > 0)
                     if (rowList.Count > 0)
                         dtTable.Rows.Add(rowList.ToArray());
                         dtTable.Rows.Add(rowList.ToArray());