Commit c0f18a84 authored by lixiaofang's avatar lixiaofang

add

parent c2f1155e
...@@ -39,7 +39,7 @@ def get_data(numtime1, numtime2): ...@@ -39,7 +39,7 @@ def get_data(numtime1, numtime2):
numtime1, numtime2)) numtime1, numtime2))
data = cursor.fetchall() data = cursor.fetchall()
cursor.execute( cursor.execute(
"SELECT pictorial_id FROM topic_vote_cnt WHERE is_deleted = 0 and (create_time >= '%s' and create_time < '%s') group by pictorial_id" % ( "SELECT pictorial_id FROM topic_vote_cnt WHERE is_deleted = 0 and (update_time >= '%s' and update_time < '%s') group by pictorial_id" % (
numtime1, numtime2)) numtime1, numtime2))
data_vote = cursor.fetchall() data_vote = cursor.fetchall()
......
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