Commit d95fb1bd authored by fangxinjiang's avatar fangxinjiang

BUG修复-fxj

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