public class ExcelHandle extends Object
限定符和类型 | 字段和说明 |
---|---|
String |
downloadPath |
ExcelWorkbookManage |
excelWorkbookManage |
ExecutorTools |
executorTools |
String |
port |
org.springframework.data.redis.core.StringRedisTemplate |
redisTemplate |
String |
tmpPath |
构造器和说明 |
---|
ExcelHandle() |
限定符和类型 | 方法和说明 |
---|---|
void |
addErrorInfo(String workbookId,
int sheetIndex,
List<RowError> rowErrors) |
void |
addErrorInfo(String workbookId,
int sheetIndex,
RowError rowError) |
void |
addErrorInfo(String workbookId,
List<RowError> rowErrors) |
ExcelImportRes |
process(String workbookId,
List<ExcelSheetData> sheetDataList,
Excel excel) |
public ExcelWorkbookManage excelWorkbookManage
public ExecutorTools executorTools
public org.springframework.data.redis.core.StringRedisTemplate redisTemplate
@Value(value="${server.port:8080}") public String port
@Value(value="${excel.tmp_path:/tmp/import/}") public String tmpPath
@Value(value="${excel.download_path:/download/}") public String downloadPath
public ExcelImportRes process(String workbookId, List<ExcelSheetData> sheetDataList, Excel excel)
Copyright © 2021. All rights reserved.