fix 会员项目成员导入校验
This commit is contained in:
+3
@@ -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校验失败 !");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user