两个线程A和B同时查到库存为5,A执行操作update Stock set stock = stock - 2 where id = 1, B执行操作update Stock set stock = stock