http://blog.itpub.net/31555484/viewspace-2565387/
https://blog.csdn.net/pengpeng__/article/details/80072358
https://www.cnblogs.com/clsn/p/8214048.html
https://zhuanlan.zhihu.com/p/49888088
on duplicate key update 如果数据已经有了,就更新已存在的数据