From 37b79d371ac8b6ad3cf7b221998d1ec455f8abb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=87=AF?= <1368058312@qq.com> Date: Mon, 21 Sep 2026 16:07:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BE=E5=87=AF=E4=BF=AE=E6=94=B9=E4=BA=86st?= =?UTF-8?q?udent=5Fid=E4=B8=AD=E5=A4=96=E9=94=AE=E7=BA=A6=E6=9D=9F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BA=86student=5Finfo=5Fdetail.id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/score.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/score.py b/models/score.py index 24c400a..90e9682 100644 --- a/models/score.py +++ b/models/score.py @@ -9,7 +9,7 @@ class Score(Base): ,comment="成绩表序号,自增主键" ) student_id = Column(Integer - ,ForeignKey("Student.id") + ,ForeignKey("student_info_detail.id") ,nullable=False ,comment="学生学号" )