|
@@ -103,12 +103,12 @@ public class TemplateExcelUtil {
|
|
log.error("excel导出失败", e);
|
|
log.error("excel导出失败", e);
|
|
throw new ServiceException("excel导出失败");
|
|
throw new ServiceException("excel导出失败");
|
|
} finally {
|
|
} finally {
|
|
|
|
+ IoUtil.close(os);
|
|
|
|
+ IoUtil.close(is);
|
|
if (excelWriter != null) {
|
|
if (excelWriter != null) {
|
|
excelWriter.finish();
|
|
excelWriter.finish();
|
|
}
|
|
}
|
|
IoUtil.close(excelWriter);
|
|
IoUtil.close(excelWriter);
|
|
- IoUtil.close(is);
|
|
|
|
- IoUtil.close(os);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|