Commit 6e70ba2609e8377e4f84ff02eef2d49f74eea11c
1 parent
8e334cd896
Exists in
master
小程序-医生列表排序
Showing 2 changed files with 6 additions and 0 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java
View file @
6e70ba2
... | ... | @@ -284,6 +284,7 @@ |
284 | 284 | }else { |
285 | 285 | queryWrapper.setEntity(appgetdoctorlistInfo); |
286 | 286 | } |
287 | + queryWrapper.orderByDesc(AppgetdoctorlistInfo::getCreatedtime); | |
287 | 288 | Page<AppgetdoctorlistInfo> page=new Page<>(current,size); |
288 | 289 | Page<AppgetdoctorlistInfo> appgetdoctorlistInfoPage=appgetdoctorlistInfoService.page(page,queryWrapper); |
289 | 290 | baseResponse.setObject(appgetdoctorlistInfoPage); |
talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/AppgetdoctorlistInfo.java
View file @
6e70ba2