mrz
This commit is contained in:
@@ -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='统计每个班级的学员总数和男女生总数')
|
||||
|
||||
Reference in New Issue
Block a user