From 035108b3a9be40ca4af1900269efd66c858e676e Mon Sep 17 00:00:00 2001 From: 0919word <835535015@qq.com> Date: Thu, 24 Sep 2026 11:55:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cla_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cla_model.py b/cla_model.py index acd65eb..48704ab 100644 --- a/cla_model.py +++ b/cla_model.py @@ -8,9 +8,9 @@ class ClassManagement(Base): __tablename__ = "wl_class" - id= Column(Integer,autoincrement=True,comment='id') + class_id= Column(Integer, primary_key=True,comment='id') - class_id= Column(Integer, primary_key=True ,comment='班级编号') + class_num= Column(Integer, comment='班级编号') class_name = Column(String(100), comment='班级名字')