This commit is contained in:
maruizhi
2026-09-21 16:24:19 +08:00
parent 9631c41579
commit 9ccf526ba5
2 changed files with 4 additions and 4 deletions
-1
View File
@@ -8,7 +8,6 @@ StatisticsAPI = APIRouter()
@StatisticsAPI.get("/age",response_model=list[StudentResponse],tags=['统计分析模块'],description='根据年龄查询学生信息')
def get_students(min_age:int|None=None,max_age:int|None=None,db=Depends(get_db)):
l = select_age(min_age,max_age,db)
print(l)
return l
@StatisticsAPI.get("/all",response_model=StudentResponse,tags=['统计分析模块'],description='统计每个班级的学员总数和男女生总数')