新增加,导入excel时,数据的验证,采用与controoler层相同的验证方式,在vo里写注解即可

pull/222/head
艾纯禹 3 years ago
parent d4930f6a88
commit 40da3e899f

@ -0,0 +1,33 @@
package com.ruoyi.common.core.utils.poi;
import java.util.List;
/**
* Excel
* errorList:
* result:
* @author
*/
public class ExcelImportResult<T> {
private List<String> errorList;
public List<String> getErrorList() {
return errorList;
}
public void setErrorList(List<String> errorList) {
this.errorList = errorList;
}
public List<T> getResult() {
return result;
}
public void setResult(List<T> result) {
this.result = result;
}
private List<T> result;
}
Loading…
Cancel
Save