Commit c18684a1 authored by lixiaofang's avatar lixiaofang

add

parent 4c85c2d1
......@@ -18,7 +18,7 @@ def get_topic_id(numtime1, numtime2):
cursor.execute(
"SELECT id,user_id FROM topic WHERE is_online=1 and create_time > '%s' and create_time < '%s' and id not in "
"(select topic_id from reply where is_online=1 and create_time > '%s' and create_time < '%s')" % (
numtime1, numtime2)
numtime1, numtime2, numtime1, numtime2)
)
data = cursor.fetchall()
topic_id = list(data)
......
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