From b8b88e11df15df0547a8dd2122ec5804b7b90e85 Mon Sep 17 00:00:00 2001 From: fish Date: Sat, 4 Jul 2026 11:33:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(stock):=20=E8=B0=83=E8=AF=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=88=86=E5=B8=83=E7=BB=9F=E8=AE=A1=E5=88=97=E5=90=8D?= =?UTF-8?q?=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/handlers/stock.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 {