Commit 7bba938c by 陶光胜

取数平台下载优化

parent c48cb32e
......@@ -508,6 +508,7 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
this.downloadTaskTimer.schedule(new TimerTask() {
@Override
public void run() {
try{
if (taskConditions != null && taskConditions.size() > 0) {
FlatQueryTaskCondition condition = null;
//FlatQueryTaskCondition condition = taskConditions.remove(0); // 移除并获取第一个任务条件
......@@ -676,6 +677,10 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
} // IF OVER
} // IF OVER
} // 没有任务则忽略
}catch (Exception e){
log.debug("自助指标下载异常", e.getMessage());
e.printStackTrace();
}
} // run Define Over
}, interval * 1000, interval * 1000);// 配置中的值为毫秒
}
......
......@@ -358,6 +358,7 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
this.downloadTaskTimer.schedule(new TimerTask() {
@Override
public void run() {
try {
if (taskConditions != null && taskConditions.size() > 0) {
//FreeQueryTaskCondition condition = taskConditions.remove(0); // 移除并获取第一个任务条件
FreeQueryTaskCondition condition = null;
......@@ -510,6 +511,10 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
} // IF OVER
} // IF OVER
} // 没有任务则忽略
}catch (Exception e){
log.debug("自定义查询下载异常", e.getMessage());
e.printStackTrace();
}
} // run Define Over
}, interval * 1000, interval * 1000);// 配置中的值为毫秒
}
......
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