From 129879f45b1b59f8e1b26c766a80d50f371be385 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 08 九月 2023 18:21:56 +0800
Subject: [PATCH] 人员信息导入
---
VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs b/VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs
index 668c121..a90435e 100644
--- a/VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs
+++ b/VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs
@@ -1,5 +1,6 @@
锘縰sing System;
using System.Collections.Generic;
+using System.Data;
using System.Linq;
using System.Threading.Tasks;
using VueWebCoreApi.DLL.DAL;
@@ -11,23 +12,23 @@
public class ExcelCheckBLL
{
#region銆怑xcel瀵煎叆妯℃澘楠岃瘉銆�
- public static ToMessage ExcelCheck(string fileCode, string savePath)
+ public static ToMessage ExcelCheck(string fileCode, List<DataTable> dataTable)
{
- return ExcelCheckDAL.ExcelCheck(fileCode, savePath);
+ return ExcelCheckDAL.ExcelCheck(fileCode, dataTable);
}
#endregion
#region[Excel瀵煎叆鏁版嵁楠岃瘉]
- public static List<ExcelErro> ExcelCheckData(string fileCode, string savePath, out string stuCode, out string message, out int count)
+ public static List<ExcelErro> ExcelCheckData(string fileCode, List<DataTable> dataTable, out string stuCode, out string message, out int count)
{
- return ExcelCheckDAL.ExcelCheckData(fileCode, savePath, out stuCode, out message, out count);
+ return ExcelCheckDAL.ExcelCheckData(fileCode, dataTable, out stuCode, out message, out count);
}
#endregion
#region[Excel瀵煎叆鏁版嵁]
- public static ToMessage ExcelImportSubmit(string fileCode, string savePath, string username)
+ public static ToMessage ExcelImportSubmit(string FileCode, List<DataTable> dataTable, User us)
{
- return ExcelCheckDAL.ExcelImportSubmit(fileCode, savePath, username);
+ return ExcelCheckDAL.ExcelImportSubmit(FileCode, dataTable, us);
}
#endregion
}
--
Gitblit v1.9.3