ON DUPLICATE KEY UPDATE

rabbitmq:http://www.cnblogs.com/ityouknow/p/6120544.html      http://blog.csdn.net/zyz511919766/article/details/41946521

mybaties:http://www.yiibai.com/mybatis/mybatis_choose.html