Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
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
黎涛
meta_base_code
Commits
d0357083
Commit
d0357083
authored
Sep 21, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
810276c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tractate_analysis_in_7000.py
task/tractate_analysis_in_7000.py
+5
-5
No files found.
task/tractate_analysis_in_7000.py
View file @
d0357083
...
@@ -283,9 +283,9 @@ for res in sql_res:
...
@@ -283,9 +283,9 @@ for res in sql_res:
card_id
=
res
.
card_id
card_id
=
res
.
card_id
session_pv
=
res
.
session_pv
session_pv
=
res
.
session_pv
card_id_set
.
update
(
card_id
)
card_id_set
.
update
(
card_id
)
if
c
ard
_id
in
second_demands_tag_dict
:
if
c
l
_id
in
second_demands_tag_dict
:
for
tag_id
in
second_demands_tag_dict
[
c
ard
_id
]:
for
tag_id
in
second_demands_tag_dict
[
c
l
_id
]:
if
tag
_id
in
second_demands_id_count
:
if
cl
_id
in
second_demands_id_count
:
second_demands_id_count
[
tag_id
]
.
update
(
card_id
)
second_demands_id_count
[
tag_id
]
.
update
(
card_id
)
else
:
else
:
second_demands_id_count
[
tag_id
]
=
set
()
second_demands_id_count
[
tag_id
]
=
set
()
...
@@ -296,8 +296,8 @@ for res in sql_res:
...
@@ -296,8 +296,8 @@ for res in sql_res:
else
:
else
:
baoguang_dict
[
tag_id
]
=
session_pv
baoguang_dict
[
tag_id
]
=
session_pv
if
c
ard
_id
in
projects_demands_tag_dict
:
if
c
l
_id
in
projects_demands_tag_dict
:
for
tag_id
in
projects_demands_tag_dict
[
c
ard
_id
]:
for
tag_id
in
projects_demands_tag_dict
[
c
l
_id
]:
if
tag_id
in
projects_demands_id_count
:
if
tag_id
in
projects_demands_id_count
:
projects_demands_id_count
[
tag_id
]
.
update
(
card_id
)
projects_demands_id_count
[
tag_id
]
.
update
(
card_id
)
else
:
else
:
...
...
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