public class ImportExcelResult<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<T> |
data
结果集
|
private List<String> |
errorInfo
导入过程中的错误信息 (可用于记录解析excel数据时存储异常信息,用于业务的事务的回滚)
|
| Constructor and Description |
|---|
ImportExcelResult() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getData()
获取 结果集
|
List<String> |
getErrorInfo()
获取 导入过程中的错误信息
|
void |
setData(List<T> data)
设置 结果集
|
void |
setErrorInfo(List<String> errorInfo)
设置 导入过程中的错误信息
|
Copyright © 2024. All rights reserved.