excelData.dart 474 B

12345678910111213141516
  1. import 'base.dart';
  2. import 'models/excel_data.dart';
  3. import 'package:excel/excel.dart';
  4. abstract class IExcelDataManager implements IManager {
  5. ///CSV数据解析
  6. Future<List<ExcelDataRecord>> CsvDataConvert(
  7. List<List<dynamic>> datas, String key);
  8. ///Excel数据解析
  9. Future<List<ExcelDataRecord>> ExcelDataConvert(
  10. List<List<Data?>> rows, String key);
  11. ///数据上传
  12. Future<bool> uploadDatas(List<ExcelDataRecord> datas, String templateKey);
  13. }