INSERT INTO vtm_addressinfo(UserId,AcceptUser,AcceptTel,AcceptLocation,Email,CreateTime)
VALUES(@UserId,@AcceptUser,@AcceptTel,@AcceptLocation,@Email,@CreateTime)
ON DUPLICATE KEY UPDATE
UserId=@UserId,AcceptUser=@AcceptUser,AcceptTel=@AcceptTel,AcceptLocation=@AcceptLocation,Email=@Email,ModifyTime=@ModifyTime
UserId唯一约束
insert 失败后会update
索引自增断号问题