From f45d130a5810674026d584272a9595ef676d201b Mon Sep 17 00:00:00 2001 From: shellway-pc <413209390@qq.com> Date: Fri, 31 Jul 2026 22:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=BC=82=E5=B8=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quantitative_data/importer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quantitative_data/importer.py b/quantitative_data/importer.py index 923ab55..16dd189 100644 --- a/quantitative_data/importer.py +++ b/quantitative_data/importer.py @@ -185,6 +185,9 @@ def import_stock_basic(): 导入股票基本信息 (stock_basic) Tushare: stock_basic """ + # 确保数据库表结构已初始化 + init_database() + logger.info("=" * 60) logger.info("[1/7] 导入股票基本信息 (stock_basic) ...")