From 4f8114c9a13b9492bb2bb8b4f5d2c09d7bb68b61 Mon Sep 17 00:00:00 2001 From: 0919word <835535015@qq.com> Date: Tue, 22 Sep 2026 15:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=92=8B=E7=AB=8B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PythonProject/model/all_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonProject/model/all_model.py b/PythonProject/model/all_model.py index cc21a42..69f6c99 100644 --- a/PythonProject/model/all_model.py +++ b/PythonProject/model/all_model.py @@ -66,7 +66,7 @@ class ClassManagement(Base): class_teacher_id = Column(Integer,ForeignKey('wl_teacher.teac_id'),comment='授课教师') - Entry_date= Column(Date,default=datetime.now,comment='录入时间') + Entry_date= Column(DATETIME,default=datetime.now,comment='录入时间') update_date = Column(DATETIME,default=datetime.now,onupdate=datetime.now,comment='更新时间')