Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
7bece341
Commit
7bece341
authored
Apr 26, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台下载优化
parent
1684c65f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
FlatQueryResultServiceImpl.java
...ud/data/hook/service/impl/FlatQueryResultServiceImpl.java
+3
-0
FreeQueryServiceImpl.java
...ic/cloud/data/hook/service/impl/FreeQueryServiceImpl.java
+4
-0
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryResultServiceImpl.java
View file @
7bece341
...
...
@@ -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
)
{
// 如果自审核通过
...
...
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FreeQueryServiceImpl.java
View file @
7bece341
...
...
@@ -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
)
{
// 如果自审核通过
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment