using System.Data; using WX.CRM.Common; namespace WX.CRM.IBLL.Util { public interface IExcelImport { /// ///现货excel导入的datable批量导入数据 /// /// 错误信息 /// 表名称 /// dataTable数据源 /// 是否成功 bool FxhOracleBulkInsert(ref ValidationErrors erros, string tableName, decimal importId, DataTable dataTable); /// /// 计算导入数据操作 /// /// 错误信息 /// 类型 /// 导入批次ID /// bool ComputeColnumBeforeGen(ref ValidationErrors erros, Model.Enum.EnumExcelDataType type, decimal importId); /// /// 生成业务表操作 /// /// 错误信息 /// 类型 /// 导入批次ID /// bool GenerateBusinessData(ref ValidationErrors erros, Model.Enum.EnumExcelDataType type, decimal importId); void GenDataTable(string tableName, string excelColumn); void BackDataTable(string tableOldName, string tableNewName); } }