insert into table_name (uid, user_name, email, department_id, department_name, role_id, is_delete) VALUES (%s, %s, %s, %s, %s, %s, %s) ON DUPLICATE KEY UPDATE user_name = VALUES(user_name), email = VALUES(email), department_id = VALUES(department_id), department_name = VALUES(department_name), role_id = VALUES(role_id), is_delete = VALUES(is_delete)
# 主键为uid