并发抢购

并发抢购: 利用Oracle的锁机制
update REDGIFTS_INFO t set t.own='liming001'
where t.own is null and rownum=1

原文地址:https://www.cnblogs.com/qqzy168/p/4755289.html