|
|
@@ -232,7 +232,7 @@ class LanqiuSpider(scrapy.Spider):
|
|
|
utime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
|
|
|
self.conn.updata_data("update st_ball_status set status=0, update_time='{0}' where match_id={1}".format(utime,res_id))
|
|
|
sql1 = "insert into comendnotice(status, game_code, match_id,done_time) values (%s,%s, %s, %s) on conflict(match_id) do update set done_time = %s"
|
|
|
- self.conn.cursor.execute(sql1,(4,'zq',res_id,utime,utime))
|
|
|
+ self.conn.cursor.execute(sql1,(0,'zq',res_id,utime,utime))
|
|
|
self.conn.updata_data("update st_zq_result set status=2 where match_id={}".format(res_id))
|
|
|
self.conn.updata_data("update st_zq_result_record set status=2 where match_id={}".format(res_id))
|
|
|
self.conn.updata_data("update st_zq_competition set status=2 where match_id={}".format(res_id))
|