|
|
@@ -621,16 +621,16 @@ class Roll_Zuqiupipeline(object):
|
|
|
horn_scoreh = horn_team['horn_scoreh']
|
|
|
horn_scoreg = horn_team['horn_scoreg']
|
|
|
all_goal = int(horn_scoreh) + int(horn_scoreg)
|
|
|
- horn_id = horn_team['horn_id']
|
|
|
+ match_id = horn_team['horn_id']
|
|
|
# half_way = item['half_way']
|
|
|
match_score = "{}:{}".format(horn_scoreh, horn_scoreg)
|
|
|
- if self.db.zq_competition35.find({"match_id": horn_id, 'is_rollball': 1}).count() < 1:
|
|
|
+ if self.db.zq_competition35.find({"match_id": match_id, 'is_rollball': 1}).count() < 1:
|
|
|
match_list = []
|
|
|
match_dict = {"game_code": "zq", "title": "match", "source": "hg3535"}
|
|
|
match_kay = ["home_team", "guest_team", "lg_id", "status", "match_id", "match_date", "match_time",
|
|
|
"tag", "source", "is_rollball", "is_morningplate", "is_stringscene", "us_time", "uuid",
|
|
|
"half_match_id", "is_today", "is_horn"]
|
|
|
- match_value = [team_home, team_guest, league_id, 1, horn_id, match_date, match_time, number,
|
|
|
+ match_value = [team_home, team_guest, league_id, 1, match_id, match_date, match_time, number,
|
|
|
"hg3535", 1, 0, 0, utime, uuid, 0, 0, 1]
|
|
|
match_data = dict(zip(match_kay, match_value))
|
|
|
match_list.append(match_data)
|