Commit f6c30f03 authored by 张彦钊's avatar 张彦钊

change test file

parent a36b52c1
...@@ -192,6 +192,7 @@ def diary_write(device_id,cid): ...@@ -192,6 +192,7 @@ def diary_write(device_id,cid):
cursor.execute(sql) cursor.execute(sql)
result = cursor.fetchall() result = cursor.fetchall()
if len(result) > 0: if len(result) > 0:
print("cunzai")
tags = result[0][0] tags = result[0][0]
if tags is not None: if tags is not None:
sql = "select a.id from src_mimas_prod_api_diary a left join src_mimas_prod_api_diary_tags b " \ sql = "select a.id from src_mimas_prod_api_diary a left join src_mimas_prod_api_diary_tags b " \
...@@ -236,7 +237,7 @@ def diary_write(device_id,cid): ...@@ -236,7 +237,7 @@ def diary_write(device_id,cid):
# ssc.start() # ssc.start()
# ssc.awaitTermination() # ssc.awaitTermination()
diary_write("9C5E7C73-380C-4623-8F48-A64C8034E315_dislike_diary",16952841) diary_write("9C5E7C73-380C-4623-8F48-A64C8034E315",16952841)
......
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