From f19044df4868173b951e81b377869666d16806dd Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期一, 13 六月 2022 17:28:16 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 WebAPI/Controllers/SCGL/日计划管理/JIT_DayPlanPlatFormImportController.cs |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs" "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs"
index 3d73e5b..2406df5 100644
--- "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs"
+++ "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs"
@@ -36,14 +36,13 @@
                 file.SaveAs(ExcelPath);
 
                 NpoiHelper np = new NpoiHelper();
-                DataSet ExcelDs = np.ReadExcel(ExcelPath, 1);
+                DataSet ExcelDs = np.ReadExcel(ExcelPath, 1,1,"0");
 
                 //鍒犻櫎鏂囦欢
                 File.Delete(ExcelPath);
 
                 //鍒涘缓涓存椂琛�
                 DataTable tb2 = new DataTable("dt2");
-                DataTable tb3 = new DataTable("dt3");
 
                 //娣诲姞鍒楀悕
                 for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++)
@@ -71,8 +70,6 @@
                     }
                     tb2.Rows.Add(row);
                 }
-
-                ExcelDs.Tables.Add(tb2);
 
                 var error = "";
                 var ErrorResult = "";

--
Gitblit v1.9.1