Commit af8d5f6d by 黎配弘

删除一些无效的代码

parent a09b3090
package com.winsun.service.impl;
import com.winsun.auth.core.util.IOUtils;
import com.winsun.bean.ExportExcel;
import com.winsun.service.ExportExcelService;
import lombok.extern.slf4j.Slf4j;
......@@ -37,7 +36,20 @@ public class ExportExcelServiceImpl implements ExportExcelService {
} catch (Exception e) {
log.error("下载excel文件异常" + e.getMessage(), e);
} finally {
IOUtils.closeQuite(fileInputStream, in);
if(fileInputStream != null) {
try {
fileInputStream.close();
} catch (Exception e){
}
}
if(in != null) {
try {
in.close();
} catch (Exception e){
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment