sql_command = """UPDATE t_now
SET
status = '0'
WHERE
username = '{}';""".format(u)
"INSERT INTO t_now(username, name, status, createTime) VALUES ('{}', '{}', '1', now())"
sql_command = """UPDATE t_now
SET
status = '0'
WHERE
username = '{}';""".format(u)
"INSERT INTO t_now(username, name, status, createTime) VALUES ('{}', '{}', '1', now())"