完成了增加学生接口

This commit is contained in:
wolin_liyujie
2026-09-21 17:51:33 +08:00
parent 19b5ad46f7
commit 4d811348ac
6 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def add_student(
'''
from sqlalchemy.orm import Session
def generate_no(field_name: str, prefix: str, db_object, db: Session):
if getattr(db_object, field_name):
return