feat: add party-size queueing and call modes

This commit is contained in:
wangxuming
2026-07-16 11:40:34 +08:00
parent 7f751bebae
commit 66951b4dc3
53 changed files with 3348 additions and 533 deletions

View File

@@ -0,0 +1,16 @@
package domain
// DisplayExperiencedPeople applies the project's configured display floor to
// the actual number of tickets issued for the current business day.
func DisplayExperiencedPeople(start int, actual int64) int64 {
if start < 0 {
start = 0
}
if actual < 0 {
actual = 0
}
if displayedStart := int64(start); displayedStart > actual {
return displayedStart
}
return actual
}