Commit d95fb1bd authored by fangxinjiang's avatar fangxinjiang

BUG修复-fxj

parent f269dc05
......@@ -234,6 +234,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
list.clear();
}
out.flush();
if (null != excelWriter){
excelWriter.finish();
}
} catch (Exception e) {
log.error("执行异常", e);
} finally {
......@@ -241,9 +244,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if (null != out) {
out.close();
}
if (null != excelWriter){
excelWriter.finish();
}
} catch (IOException e) {
log.error("执行异常", 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