feat(finance): 增加线下结算实际操作人

This commit is contained in:
yml
2026-11-15 17:14:23 +08:00
parent 79b8bc3ac1
commit b1a898ad92
35 changed files with 543 additions and 129 deletions
+2 -2
View File
@@ -31,12 +31,12 @@ func (CSManualEntry) TableName() string {
return "cs_manual_entries"
}
// CSManualEntryOption 客服手动录单的可选项配置(平台 / 操作人)。
// CSManualEntryOption 客服手动录单的可选项配置(平台 / 录单操作人 / 出款实际操作人)。
// 仅作为录单表单的下拉数据源,记录里保存的是名称快照。
// 操作人选项可通过 group_tag 标记所属组别(收号/出号),录单时用于自动带出组别。
type CSManualEntryOption struct {
ID uint64 `gorm:"primaryKey" json:"id"`
Type string `gorm:"size:16;not null;uniqueIndex:uk_cs_manual_entry_options_type_name,priority:1" json:"type"`
Type string `gorm:"size:32;not null;uniqueIndex:uk_cs_manual_entry_options_type_name,priority:1" json:"type"`
Name string `gorm:"size:64;not null;uniqueIndex:uk_cs_manual_entry_options_type_name,priority:2" json:"name"`
GroupTag string `gorm:"size:16;not null;default:''" json:"group_tag"`
SortOrder int `gorm:"not null;default:0" json:"sort_order"`