Commit ebc41366 authored by 李小芳's avatar 李小芳

Merge branch 'new_user_smr' into 'master'

smr

See merge request !18
parents cb31fda5 f0ea6188
......@@ -491,7 +491,7 @@ class Tractate(models.Model):
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return 0
def get_tratate_newuser_smr(self, tractate_id):
def get_tractate_newuser_smr(self, tractate_id):
score = SrategyTractateSmrScore.objects.using(settings.DORIS_DB_NAME).filter(
tractate_id=tractate_id).order_by('-create_date').values_list("smart_rank_score", flat=True).first()
if score:
......
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