Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
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
1
Merge Requests
1
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
rank
mentha
Commits
31e14c85
Commit
31e14c85
authored
Nov 19, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add_hauxiang' into 'master'
修改es See merge request
!10
parents
e065e29f
6ff79c78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
transfer.py
data_sync/answer/transfer.py
+2
-0
No files found.
data_sync/answer/transfer.py
View file @
31e14c85
...
...
@@ -10,6 +10,7 @@ from tags.services.tag import (get_tagv3_analysis_info, get_tag_v3_operators_tag
from
talos.services.convert_service.user_convert_service
import
UserConvertService
from
data_sync.tractate.transfer
import
get_keynote_sentence
from
gm_types.gaia
import
DOCTOR_TYPE
from
talos.services.doctor
import
DoctorService
import
time
import
datetime
from
django.conf
import
settings
...
...
@@ -33,6 +34,7 @@ def get_answers(pks):
item
[
'good_click'
]
=
answer
.
get_good_click
item
[
'goodclick_rate_30'
]
=
answer
.
con_good_click
item
[
'user_id'
]
=
answer
.
user_id
item
[
'doctor_id'
]
=
DoctorService
.
get_doctor_by_user_id_v1
(
answer
.
user_id
)
item
[
'question_id'
]
=
answer
.
question
.
id
item
[
'smart_rank'
]
=
answer
.
smart_rank
()
item
[
'smart_rank_v2'
]
=
answer
.
smart_rank_v2
()
...
...
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