本文介绍了如何为多个用户尝试在线预订同一座位的单个用户进行交易?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何处理这种情况。如果有两个座位可供选择.10个不同的人试图预订这两个座位的门票。然后最终座位预订仅针对单个人以及如何管理交易。



我尝试过的事情:



i认为它使用锁定概念,因为我对此不太熟悉一种情况。我希望你能帮助我。

how to handle such situation.if two seats are available.10 different people were trying to book tickets for those two seats .then finally seats booking is done for only single person and how transaction is managed.

What I have tried:

i thought its using lock concept as iam not much familier to this kind of scenarios .i hope you would help me.

推荐答案


这篇关于如何为多个用户尝试在线预订同一座位的单个用户进行交易?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-14 19:59