ttpos-desk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesettpos-desk
ttpos-desk
先读 。
ttpos-sharedFirst read .
ttpos-shared能回答的问题
Questions It Can Answer
| 问题 | 命令 |
|---|---|
| 有多少张桌、哪些桌有人 | |
| 有哪些区域、每个区域几张桌 | |
bash
ttpos desk list --page 2 --size 100
ttpos desk region list查询上限: 每页最多 100 条。
desk list| Question | Command |
|---|---|
| How many tables are there, and which tables are occupied | |
| Which regions are available, and how many tables are in each region | |
bash
ttpos desk list --page 2 --size 100
ttpos desk region listQuery limit: returns a maximum of 100 records per page.
desk listttpos desk list
ttpos desk listttpos desk list
ttpos desk list- 默认只返回第一页 20 条。是总桌台数,大于本页条数就要翻页,否则结果不全。回答"有多少张桌"直接用
count。count - 没有区域、状态、关键字过滤,只能翻页取全后自行筛选。
- 、
uuid、region_uuid是字符串。type_uuid、region_name是现成名称。type_name是整数is_disable。0/1 - 是开台状态:空闲或已开台(有人)。不含预订数据。
status_text
- By default, it returns only the first 20 records. is the total number of desks. If it is greater than the number of records on the current page, pagination is required; otherwise, the results will be incomplete. To answer "How many tables are there?", use
countdirectly.count - There are no region, status, or keyword filters, so all pages must be retrieved and filtered manually.
- ,
uuid, andregion_uuidare strings.type_uuidandregion_nameare ready-to-use names.type_nameis the integeris_disable.0/1 - indicates the table opening status: free or open (occupied). It does not include reservation data.
status_text
ttpos desk region list
ttpos desk region listttpos desk region list
ttpos desk region list全量返回,没有 /, 是区域数。每个区域的桌数直接读 ,不用重新统计。返回的是区域本身,不是按区域分组的桌台。
--page--sizecountdesk_count退出码见 。
ttpos help exit-codesReturns all records and does not support /. is the number of regions. Read directly for each region's number of desks; there is no need to count them again. It returns the regions themselves, not desks grouped by region.
--page--sizecountdesk_countSee for exit codes.
ttpos help exit-codes