Commit 181ca94f authored by 赵威's avatar 赵威

update sql

parent 8a52589c
......@@ -423,7 +423,7 @@ def write_user_portrait(cl_id, first_solutions, second_solutions, first_demands,
today = datetime.date.today()
oneday = datetime.timedelta(days=1)
yesterday = today - oneday
sql = """insert into user_tag3_portrait values(null, %s, %s, %s, %s, %s, %s, %s, %s, %s)""".format(
sql = """insert into user_tag3_portrait values(null, {}, {}, {}, {}, {}, {}, {}, {}, {})""".format(
yesterday, cl_id, first_solutions, second_solutions, first_demands, second_demands, first_positions,
second_positions, projects)
......
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