diff --git a/backend/internal/handlers/stock.go b/backend/internal/handlers/stock.go index acd67af..9706f8d 100644 --- a/backend/internal/handlers/stock.go +++ b/backend/internal/handlers/stock.go @@ -161,19 +161,19 @@ type distributionRow struct { } type distributionScan struct { - SH int64 - SZ int64 - BJ int64 - Up0_3 int64 - Up3_5 int64 - Up5_7 int64 - Up7_10 int64 - Up10 int64 - Down0_3 int64 - Down3_5 int64 - Down5_7 int64 - Down7_10 int64 - Down10 int64 + SH int64 `gorm:"column:sh"` + SZ int64 `gorm:"column:sz"` + BJ int64 `gorm:"column:bj"` + Up0_3 int64 `gorm:"column:up_0_3"` + Up3_5 int64 `gorm:"column:up_3_5"` + Up5_7 int64 `gorm:"column:up_5_7"` + Up7_10 int64 `gorm:"column:up_7_10"` + Up10 int64 `gorm:"column:up_10"` + Down0_3 int64 `gorm:"column:down_0_3"` + Down3_5 int64 `gorm:"column:down_3_5"` + Down5_7 int64 `gorm:"column:down_5_7"` + Down7_10 int64 `gorm:"column:down_7_10"` + Down10 int64 `gorm:"column:down_10"` } type debugStatsResponse struct {