Commit fe52e528 by 陶光胜

报表中心调整

parent b5c8a828
...@@ -233,7 +233,9 @@ public class DownloadUtils { ...@@ -233,7 +233,9 @@ public class DownloadUtils {
private <T> void downloadCommon(DownloadExcelQO param, DownloadDataLoader<T> loader) throws Exception { private <T> void downloadCommon(DownloadExcelQO param, DownloadDataLoader<T> loader) throws Exception {
LOGGER.info("下载导出数据参数:{}", JSON.toJSONString(param, SerializerFeature.WriteMapNullValue)); LOGGER.info("下载导出数据参数:{}", JSON.toJSONString(param, SerializerFeature.WriteMapNullValue));
LOGGER.info("start send heart :{}", param.getReportId());
sendHeart( param.getReportId());
LOGGER.info("end send heart :{}", param.getReportId());
Integer reportId = param.getReportId(); Integer reportId = param.getReportId();
String fileName = param.getFileName(); String fileName = param.getFileName();
Integer excelExtensionCode = param.getExcelExtensionCode(); Integer excelExtensionCode = param.getExcelExtensionCode();
...@@ -411,7 +413,10 @@ public class DownloadUtils { ...@@ -411,7 +413,10 @@ public class DownloadUtils {
int maxLength = 102400; int maxLength = 102400;
while (maxLength -- > 0) { while (maxLength -- > 0) {
//每次获取数据都进行心跳包发送 //每次获取数据都进行心跳包发送
LOGGER.info("获取数据 start send heart :{}", reportId);
sendHeart(reportId); sendHeart(reportId);
LOGGER.info("获取数据 end send heart :{}", reportId);
// 分页获取数据 // 分页获取数据
List<T> objList = null; List<T> objList = null;
try { try {
......
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