Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
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
bi-report
Commits
ff58461a
Commit
ff58461a
authored
Jul 03, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
ff77094f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
18 deletions
+24
-18
meigou_detail_page.zip
jobs/meigou_detail_page/meigou_detail_page.zip
+0
-0
step1_3.job
jobs/meigou_detail_page/step1_3.job
+2
-1
step1_4.job
jobs/meigou_detail_page/step1_4.job
+4
-0
step2.job
jobs/meigou_detail_page/step2.job
+2
-1
meigou_detail_page_dispense_pv.sql
sqls/meigou_detail_page/meigou_detail_page_dispense_pv.sql
+2
-2
meigou_detail_page_dispense_uv.sql
sqls/meigou_detail_page/meigou_detail_page_dispense_uv.sql
+2
-2
meigou_detail_page_source_pv.sql
sqls/meigou_detail_page/meigou_detail_page_source_pv.sql
+6
-6
meigou_detail_page_source_uv.sql
sqls/meigou_detail_page/meigou_detail_page_source_uv.sql
+6
-6
No files found.
jobs/meigou_detail_page/meigou_detail_page.zip
View file @
ff58461a
No preview for this file type
jobs/meigou_detail_page/step1_3.job
View file @
ff58461a
#step1_
4
.job
#step1_
3
.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online ml_hospital_spam_pv_day
\ No newline at end of file
jobs/meigou_detail_page/step1_4.job
0 → 100644
View file @
ff58461a
#step1_4.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online ml_hospital_spam_pv_month
\ No newline at end of file
jobs/meigou_detail_page/step2.job
View file @
ff58461a
#step2.job
type=command
dependencies=step1_1,step1_2,step1_3
dependencies=step1_1,step1_2,step1_3
,step1_4
command=curl -X GET http://localhost:8553/api/report/sendEmail/weiyimin@igengmei.com/zhaojianwei@igengmei.com/meigou_detail_page
\ No newline at end of file
sqls/meigou_detail_page/meigou_detail_page_dispense_pv.sql
View file @
ff58461a
...
...
@@ -73,12 +73,12 @@ FROM
LEFT
JOIN
(
-- 去掉疑似机构刷量的PV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
sqls/meigou_detail_page/meigou_detail_page_dispense_uv.sql
View file @
ff58461a
...
...
@@ -73,12 +73,12 @@ FROM
LEFT
JOIN
(
-- 去掉疑似机构刷量的UV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
sqls/meigou_detail_page/meigou_detail_page_source_pv.sql
View file @
ff58461a
...
...
@@ -247,12 +247,12 @@ FROM
LEFT
JOIN
(
-- 去掉疑似机构刷量的PV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
@@ -337,12 +337,12 @@ LEFT JOIN
LEFT
JOIN
(
-- 去掉疑似机构刷量的PV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
@@ -495,12 +495,12 @@ LEFT JOIN
LEFT
JOIN
(
-- 去掉疑似机构刷量的PV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
sqls/meigou_detail_page/meigou_detail_page_source_uv.sql
View file @
ff58461a
...
...
@@ -241,12 +241,12 @@ FROM
LEFT
JOIN
(
-- 去掉疑似机构刷量的pV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
@@ -331,12 +331,12 @@ LEFT JOIN
LEFT
JOIN
(
-- 去掉疑似机构刷量的pV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
@@ -489,12 +489,12 @@ LEFT JOIN
LEFT
JOIN
(
-- 去掉疑似机构刷量的PV和UV
SELECT
cl_id
FROM
ml_hospital_spam_pv_day
FROM
online
.
ml_hospital_spam_pv_day
WHERE
partition_date
>=
'20180402'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
UNION
ALL
SELECT
cl_id
FROM
ml_hospital_spam_pv_month
FROM
online
.
ml_hospital_spam_pv_month
WHERE
partition_date
>=
'20171101'
AND
partition_date
<
regexp_replace
((
current_date
),
'-'
,
''
)
AND
pv_ratio
>=
0
.
95
)
spam_pv
...
...
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