From 8154a6145383d6035584500862af13e2160151ac Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 14 Apr 2026 12:40:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20standaloneListColum?= =?UTF-8?q?ns=20=E4=B8=AD=E5=B7=B2=E5=BA=9F=E5=BC=83=E7=9A=84=E5=88=86?= =?UTF-8?q?=E4=BD=A3=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 迁移 000116 已从 tb_iot_card 删除 first_commission_paid 和 accumulated_recharge 两列,但 standaloneListColumns 未同步清理,导致 SELECT 查询报列不存在错误。 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- internal/store/postgres/iot_card_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/store/postgres/iot_card_store.go b/internal/store/postgres/iot_card_store.go index fb9f5c4..7967052 100644 --- a/internal/store/postgres/iot_card_store.go +++ b/internal/store/postgres/iot_card_store.go @@ -229,7 +229,7 @@ var standaloneListColumns = []string{ "activation_status", "real_name_status", "network_status", "data_usage_mb", "current_month_usage_mb", "current_month_start_date", "last_month_total_mb", "last_data_check_at", "last_real_name_check_at", "enable_polling", "series_id", - "first_commission_paid", "accumulated_recharge", "created_at", "updated_at", + "created_at", "updated_at", } // ListStandalone 独立卡列表查询入口