Commit 7bece341 by 陶光胜

取数平台下载优化

parent 1684c65f
......@@ -901,6 +901,9 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
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());
log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText);
if(StringUtils.isBlank(applyStatusText)){
break;
}
boolean conditionRemove = false; // 从上传条件移除
boolean conditionUpdate = false; // 更新条件
if (applyStatusText.indexOf("\"checkStatus\":0") > 0) { // 如果自审核通过
......
......@@ -19,6 +19,7 @@ import com.google.common.collect.Lists;
import com.opencsv.CSVWriter;
import com.opencsv.ResultSetHelper;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.concurrent.BasicThreadFactory;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
......@@ -545,6 +546,9 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
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());
log.debug("runApplyTask.run", "查询自助指标查询 " + task.getId() + " 审核状态码" + applyStatusText);
if(StringUtils.isBlank(applyStatusText)){
break;
}
boolean conditionRemove = false; // 从上传条件移除
boolean conditionUpdate = false; // 更新条件
if (applyStatusText.indexOf("\"checkStatus\":0") > 0) { // 如果自审核通过
......
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