1. The note of the whole note is from where to take out, the whole of the United States on the single note option is to write dead, only then a few: less salt, not put onions, do not put parsley and so on.
Solution: The personal feeling of the United States such as set up there is unreasonable, and now to do the food and beverage items are the relevant notes on the menu displayed to the whole note above, but this also has problems, because different food notes may be different, such as a point of a dessert, the whole single note may have a multi-spicy notes, If you write death, you must extract the public features of the dishes.
2. Call service sorted by time
Solution: Just at the beginning I think is to follow the table display, but learn elder sister later request according to call service time sort, also quite reasonable, first certainly to get to waiter service TableID, and then get TableID call service request (first according to the request status, not answered put in front, The answer comes in the back, then in chronological order).
3. Customer-Side confirmation a la carte only allowed one person to operate
Workaround: Click the Confirm Order button, will be the table cache lock, there is a lock property, set to 1 for the lock, do not allow other users to operate, click to confirm the order or return button, the table cache unlocked.
4. The customer confirms the order bug, enters the confirmation interface when the menu cache is locked, if the page is refreshed, the menu cache is still in the deadlock state
Workaround: Enter the confirmation interface to use
REQUEST.GETREMOTEADDR ()
method to get the user's IP address, and set to the menu cache, when the page is refreshed to determine whether two IP addresses are the same, the same can be de-cached, different words can not be de-cached.
5. Order menu to open a single dish, it is not easy to identify which one is the same package
Workaround: Add a Package ID field that belongs to a package with the same identity
6. Back to the front end of the menu DTO, a package can only return a menu, just beginning I do is to traverse the list, if it is a repeating set of dishes, then remove, but there are problems, such as a package there are three dishes, just began to meet the first dish to determine his display of the dishes, Encountered the second dish to remove the second dish, at this time the list size of 2, but do not know why this only performed two cycles, the third dish did not delete.
Solution: In creating a new list, add the food to the DTO, if the package is repeated, not the package, the normal plus