| | |
| | | .like(StringUtils.isNotEmpty(zfDoctor.getWmedical()), ZfDoctor::getWmedical, zfDoctor.getWmedical()) |
| | | .like(StringUtils.isNotEmpty(zfDoctor.getCmedical()), ZfDoctor::getCmedical, zfDoctor.getCmedical()) |
| | | .like(StringUtils.isNotEmpty(zfDoctor.getRemark()), ZfDoctor::getRemark, zfDoctor.getRemark()); |
| | | |
| | | if (StringUtils.isNotEmpty(zfDoctor.getIsHide())) { |
| | | lqw.and(wrapper -> wrapper |
| | | .ne(ZfDoctor::getIsHide, "是") |
| | | .or() |
| | | .isNull(ZfDoctor::getIsHide) |
| | | ); |
| | | } |
| | | if (zfDoctor.getHasAttachment() != null && zfDoctor.getHasAttachment().equals("是")) { |
| | | lqw.apply("url IS NOT NULL AND url != ''"); |
| | | }// lqw.like(StringUtils.isNotEmpty(zfDoctor.getCompanion()),ZfDoctor::getCompanion,zfDoctor.getCompanion()); |
| | |
| | | zfDoctor.setCompanionList(list); zfDoctor.setHappenStartTime(happenStartTime); |
| | | zfDoctor.setHappenEndTime(happenEndTime); |
| | | zfDoctor.setHasAttachment(hasAttachment); |
| | | zfDoctor.setIsHide("否"); |
| | | return doctorList(zfDoctor); |
| | | } |
| | | |