|
|
|
@ -380,20 +380,20 @@ public class BatchExportServiceImpl implements BatchExportService {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|
try {
|
|
|
|
//try {
|
|
|
|
if (writer != null) {
|
|
|
|
if (writer != null) {
|
|
|
|
writer.close();
|
|
|
|
writer.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*if (fileOutputStream != null) {
|
|
|
|
/*if (fileOutputStream != null) {
|
|
|
|
fileOutputStream.close();
|
|
|
|
fileOutputStream.close();
|
|
|
|
}*/
|
|
|
|
}
|
|
|
|
if (bos != null) {
|
|
|
|
if (bos != null) {
|
|
|
|
bos.flush();
|
|
|
|
bos.flush();
|
|
|
|
bos.close();
|
|
|
|
bos.close();
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
} catch (IOException e) {
|
|
|
|
/*} catch (IOException e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|