Commit 4c39c7d8 by 陶光胜

取数平台下载优化

parent 7bece341
...@@ -898,8 +898,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService { ...@@ -898,8 +898,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
for (DownloadTask task : waitingTasks) { for (DownloadTask task : waitingTasks) {
log.debug("自助指标待审批任务状态变更", JSON.toJSONString(task)); log.debug("自助指标待审批任务状态变更", JSON.toJSONString(task));
if (!task.getApplyId().equals("")) { if (!task.getApplyId().equals("")) {
String applyStatusText = HttpUtils.doGet("http://www.gicdev.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId()); // String applyStatusText = HttpUtils.doGet("http://www.gicdev.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId());
// String applyStatusText = HttpUtils.doGet("http://hope.demogic.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId()); String applyStatusText = HttpUtils.doGet("http://hope.demogic.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId());
log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText); log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText);
if(StringUtils.isBlank(applyStatusText)){ if(StringUtils.isBlank(applyStatusText)){
break; break;
......
...@@ -543,8 +543,8 @@ public class FreeQueryServiceImpl implements IFreeQueryService { ...@@ -543,8 +543,8 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
for (DownloadTask task : waitingTasks) { for (DownloadTask task : waitingTasks) {
log.debug("自定义查询任务审批状态变更:", JSON.toJSONString(task)); log.debug("自定义查询任务审批状态变更:", JSON.toJSONString(task));
if (!task.getApplyId().equals("")) { if (!task.getApplyId().equals("")) {
String applyStatusText = HttpUtils.doGet("http://www.gicdev.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId()); // String applyStatusText = HttpUtils.doGet("http://www.gicdev.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId());
// String applyStatusText = HttpUtils.doGet("http://hope.demogic.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId()); String applyStatusText = HttpUtils.doGet("http://hope.demogic.com/api-admin/apply-info?type=2&applyId=" + task.getApplyId());
log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText); log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText);
if(StringUtils.isBlank(applyStatusText)){ if(StringUtils.isBlank(applyStatusText)){
break; break;
......
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