Commit 0ab25f3edca41445127e75b665c26f389bfcc43d

Authored by shiyang
1 parent 1e6d66b67b
Exists in master

update

Showing 2 changed files with 8 additions and 3 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java View file @ 0ab25f3
... ... @@ -240,9 +240,9 @@
240 240 LambdaQueryWrapper<AppgetdoctorlistInfo> queryWrapper = new QueryWrapper().lambda();
241 241 queryWrapper.setEntity(appgetdoctorlistInfo);
242 242 if(StringUtil.isNotEmpty(appgetdoctorlistInfo.getSearchinfo())){
243   - queryWrapper.eq(AppgetdoctorlistInfo::getDname, appgetdoctorlistInfo.getSearchinfo())
244   - .or().eq(AppgetdoctorlistInfo::getDpname,appgetdoctorlistInfo.getSearchinfo())
245   - .or().eq(AppgetdoctorlistInfo::getLvlname, appgetdoctorlistInfo.getSearchinfo());
  243 + queryWrapper.like(AppgetdoctorlistInfo::getDname, appgetdoctorlistInfo.getSearchinfo())
  244 + .or().like(AppgetdoctorlistInfo::getDpname,appgetdoctorlistInfo.getSearchinfo())
  245 + .or().like(AppgetdoctorlistInfo::getLvlname, appgetdoctorlistInfo.getSearchinfo());
246 246 }
247 247 Page<AppgetdoctorlistInfo> page=new Page<>(current,size);
248 248 Page<AppgetdoctorlistInfo> appgetdoctorlistInfoPage=appgetdoctorlistInfoService.page(page,queryWrapper);
talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/AppgetdoctorlistInfo.java View file @ 0ab25f3
... ... @@ -19,6 +19,11 @@
19 19 */
20 20 @TableField(value = "did")
21 21 private Integer did;
  22 + /**
  23 + * 医生账号
  24 + */
  25 + @TableField(value = "dlogin")
  26 + private String dlogin;
22 27  
23 28 /**
24 29 * 医院id