文件名从 ruoyi-common/ruoyi-common-excel/src/main/java/org/dromara/common/excel/core/DefautExcelResult.java 修改 |
| | |
| | | * @author Yjoioooo |
| | | * @author Lion Li |
| | | */ |
| | | public class DefautExcelResult<T> implements ExcelResult<T> { |
| | | public class DefaultExcelResult<T> implements ExcelResult<T> { |
| | | |
| | | /** |
| | | * 鏁版嵁瀵硅薄list |
| | |
| | | @Setter |
| | | private List<String> errorList; |
| | | |
| | | public DefautExcelResult() { |
| | | public DefaultExcelResult() { |
| | | this.list = new ArrayList<>(); |
| | | this.errorList = new ArrayList<>(); |
| | | } |
| | | |
| | | public DefautExcelResult(List<T> list, List<String> errorList) { |
| | | public DefaultExcelResult(List<T> list, List<String> errorList) { |
| | | this.list = list; |
| | | this.errorList = errorList; |
| | | } |
| | | |
| | | public DefautExcelResult(ExcelResult<T> excelResult) { |
| | | public DefaultExcelResult(ExcelResult<T> excelResult) { |
| | | this.list = excelResult.getList(); |
| | | this.errorList = excelResult.getErrorList(); |
| | | } |