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

change test file

parent da0c8c5c
......@@ -115,6 +115,7 @@ def question_write(device_id,cid):
"where a.is_online = 1 and c.tag_type = '3' and c.id = {}".format(tags)
cursor.execute(sql)
result = cursor.fetchall()
print(result)
db.close()
if len(result) > 0:
print("have data")
......@@ -193,7 +194,7 @@ def diary_write(device_id,cid):
# ssc.start()
# ssc.awaitTermination()
question_write("hello",6)
question_write("hello",5)
......
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