Commit 6ff79c78 authored by 李小芳's avatar 李小芳

修改es

parent 5817ae22
...@@ -10,6 +10,7 @@ from tags.services.tag import (get_tagv3_analysis_info, get_tag_v3_operators_tag ...@@ -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 talos.services.convert_service.user_convert_service import UserConvertService
from data_sync.tractate.transfer import get_keynote_sentence from data_sync.tractate.transfer import get_keynote_sentence
from gm_types.gaia import DOCTOR_TYPE from gm_types.gaia import DOCTOR_TYPE
from talos.services.doctor import DoctorService
import time import time
import datetime import datetime
from django.conf import settings from django.conf import settings
...@@ -33,6 +34,7 @@ def get_answers(pks): ...@@ -33,6 +34,7 @@ def get_answers(pks):
item['good_click'] = answer.get_good_click item['good_click'] = answer.get_good_click
item['goodclick_rate_30'] = answer.con_good_click item['goodclick_rate_30'] = answer.con_good_click
item['user_id'] = answer.user_id 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['question_id'] = answer.question.id
item['smart_rank'] = answer.smart_rank() item['smart_rank'] = answer.smart_rank()
item['smart_rank_v2'] = answer.smart_rank_v2() item['smart_rank_v2'] = answer.smart_rank_v2()
......
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