|
@@ -35,7 +35,7 @@ class ConsumptionRecommend(object):
|
|
|
|
|
|
count_sql = f"""select count(1) from video_demand_analysis where video_id = {video_id}"""
|
|
|
count = MysqlHelper.get_values(count_sql)
|
|
|
- if count and count[0][0] == 0:
|
|
|
+ if count and count[0][0] > 0:
|
|
|
logger.info(f"[处理] 视频重复过滤")
|
|
|
return
|
|
|
|