Merge remote-tracking branch 'origin/conding' into conding

This commit is contained in:
test1
2026-09-21 11:10:46 +08:00
3 changed files with 40 additions and 5 deletions
View File
+35
View File
@@ -0,0 +1,35 @@
from sqlalchemy import Column, BigInteger, Integer, String, Numeric, TinyInteger, DateTime
from sqlalchemy.orm import declarative_base
from datetime import datetime
from util.database import Base,engine
# 成绩、删除状态(0:已删除,1:初始值)、作成时间、更新时间
class WlScore(Base):
__tablename__ = 'Assessment grade'
stu_id = Column( Integer
,primary_key=True
,autoincrement=True
,comment='学生编号,自增主键')
exam_order = Column(Integer
, nullable=False
, comment="考核序次")
score=Column(Numeric(5, 2)
, comment="成绩")
del_flag = Column(Integer
, nullable=False
, default=1
, comment="删除状态(0:已删除,1:初始值)")
create_time = Column(DateTime
, nullable=False
, default=datetime.now
, comment="作成时间")
update_time = Column(DateTime
, nullable=False
, default=datetime.now
, onupdate=datetime.now
, comment="更新时间")
Base.metadata.create_all(engine)
+5 -5
View File
@@ -6,7 +6,7 @@ model层
学⽣基本信息表 **msj 做完了**
wl_student(学⽣编号、学⽣班级、学⽣姓名、年龄、性别、籍贯、生日、毕业院校、专业、学历、⼊学时间、毕业时间、当前进度(学习中=0,求职中=1,已就业=2)、顾问编号(人事老师)、删除状态(0:初始值,1:已删除)、班级编号(外键)、作成时间、更新时间)
学⽣考核成绩表 **hzl 做成中**
学⽣考核成绩表 **hzl 做完了**
wl_score(学⽣编号、考核序次、成绩、删除状态(0:已删除,1:初始值)、作成时间、更新时间)
学⽣就业管理模表 **cyl 做成中**
@@ -29,10 +29,10 @@ dao层(每一个功能就是一个函数,判断能否功能复用)
实现删除学生信息的功能 (更新删除状态这个列,即软删除)**xxx 做成中**
成绩模块
实现增加学生成绩的功能 **xxx 做成中**
实现查询成绩的功能 **xxx 做成中**
实现更新成绩的功能 **xxx 做成中**
实现删除成绩的功能 **xxx 做成中**
实现增加学生成绩的功能 **hzl 做成中**
实现查询成绩的功能 **hzl 做成中**
实现更新成绩的功能 **hzl 做成中**
实现删除成绩的功能 **hzl 做成中**
就业模块
实现增加学生就业信息的功能 **xxx 做成中**