fix vote record create or update bug.