升级SpringBoot到最新版本2.1.1
This commit is contained in:
@@ -37,6 +37,7 @@ import org.slf4j.LoggerFactory;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.base.AjaxResult;
|
||||
import com.ruoyi.common.config.Global;
|
||||
import com.ruoyi.common.exception.BusinessException;
|
||||
|
||||
/**
|
||||
* Excel相关处理
|
||||
@@ -376,7 +377,7 @@ public class ExcelUtil<T>
|
||||
catch (Exception e)
|
||||
{
|
||||
log.error("导出Excel异常{}", e.getMessage());
|
||||
return AjaxResult.error("导出Excel失败,请联系网站管理员!");
|
||||
throw new BusinessException("导出Excel失败,请联系网站管理员!");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
Reference in New Issue
Block a user