yl
2023-09-08 129879f45b1b59f8e1b26c766a80d50f371be385
VueWebCoreApi/DLL/BLL/ExcelCheckBLL.cs
@@ -1,5 +1,6 @@
using 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【Excel导入模板验证】
        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
    }