|
@@ -86,7 +86,7 @@ class BedroomService extends CrudService {
|
|
|
// 取得符合条件的学生列表
|
|
|
async getstudents(termid, batchid) {
|
|
|
// 根据期id查找所有当期学生列表
|
|
|
- const studentList = await this.umodel.find({ termid, batchid }).sort({ gender: 1 });
|
|
|
+ const studentList = await this.umodel.find({ termid, batchid }).sort({ gender: -1 });
|
|
|
return studentList;
|
|
|
}
|
|
|
|