顾问模块合并,都合完了哦,庆祝一下!!!

This commit is contained in:
pzc
2026-09-13 23:06:01 +08:00
parent 109f9c7862
commit c392cd90e6
6 changed files with 162 additions and 13 deletions
+2 -1
View File
@@ -12,9 +12,10 @@ def list_students(
stu_no: str = Query(None),
stu_name: str = Query(None),
class_id: int = Query(None),
advisor_id: int = Query(None, description="按顾问筛选该顾问名下的学生"),
db: Session = Depends(get_db),
):
return wl_student_dao.search_students(db, stu_no, stu_name, class_id)
return wl_student_dao.search_students(db, stu_no, stu_name, class_id, advisor_id)
@router.post("", response_model=StudentOut)