摘要: 本文来自:高爽|Coder,原文地址:http://blog.csdn.net/ghsau/article/details/23557915,转载请注明。 向数据库插入记录时,有时会有这种需求,当符合某种条件的数据存在时,去修改它,不存在时,则新增,也就是saveOrUpdate操作。这... 阅读全文
posted @ 2015-06-01 13:12 zzyoucan 阅读(803) 评论(0) 推荐(0) 编辑