fix 会员项目成员导入校验

This commit is contained in:
lijiarao
2021-09-06 10:54:32 +08:00
parent 56478e2eb5
commit 07528ce0fa
2 changed files with 12 additions and 0 deletions
@@ -228,6 +228,9 @@ public class JeroController<T, S extends IService<T>> {
try {
//导入Excel格式校验,看匹配的字段文本概率
Boolean t = ExcelImportCheckUtil.check(file.getInputStream(), clazz, params);
if (t == null) {
throw new JeroBootException("导入数据为空!");
}
if(!t){
throw new JeroBootException("导入Excel校验失败 !");
}