Commit 0ab25f3edca41445127e75b665c26f389bfcc43d
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