Commit 6e70ba2609e8377e4f84ff02eef2d49f74eea11c

Authored by shiyang
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
... ... @@ -77,6 +77,11 @@
77 77 */
78 78 @TableField(exist = false)
79 79 private String searchinfo;
  80 + /**
  81 + * 搜索内容
  82 + */
  83 + @TableField(value = "createdtime")
  84 + private String createdtime;
80 85  
81 86 @TableField(exist = false)
82 87 private static final long serialVersionUID = 1L;