| | |
| | | .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 (zfDoctor.getHasAttachment().equals("是")) { |
| | | lqw.apply("url IS NOT NULL AND url != ''"); |
| | | }// lqw.like(StringUtils.isNotEmpty(zfDoctor.getCompanion()),ZfDoctor::getCompanion,zfDoctor.getCompanion()); |
| | | // lqw.like(StringUtils.isNotEmpty(zfDoctor.getCompanion()),ZfDoctor::getCompanion,zfDoctor.getCompanion()); |
| | | |
| | | if (CollectionUtils.isNotEmpty(zfDoctor.getCompanionList())) { |
| | | List<String> companionList = zfDoctor.getCompanionList(); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<?> search(String companion, Date happenStartTime, Date happenEndTime,String hasAttachment) { |
| | | public List<?> search(String companion, Date happenStartTime, Date happenEndTime) { |
| | | |
| | | ZfDoctor zfDoctor = new ZfDoctor(); |
| | | String[] split = companion.split(","); |
| | |
| | | |
| | | zfDoctor.setCompanionList(list); zfDoctor.setHappenStartTime(happenStartTime); |
| | | zfDoctor.setHappenEndTime(happenEndTime); |
| | | zfDoctor.setHasAttachment(hasAttachment); |
| | | return selectByCondition(zfDoctor); |
| | | } |
| | | |