| | |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getUnit()), ZInfoUser::getUnit, zInfoUser.getUnit()); |
| | | lqw.like(zInfoUser.getSex() != null, ZInfoUser::getSex, zInfoUser.getSex()); |
| | | lqw.like(zInfoUser.getMaritalStatus() != null, ZInfoUser::getMaritalStatus, zInfoUser.getMaritalStatus()); |
| | | lqw.like(zInfoUser.getBirth() != null, ZInfoUser::getBirth, zInfoUser.getBirth()); |
| | | lqw.le(zInfoUser.getBirth() != null, ZInfoUser::getBirth, zInfoUser.getBirth()); |
| | | lqw.like(zInfoUser.getClanId() != null, ZInfoUser::getClanId, zInfoUser.getClanId()); |
| | | return lqw; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | if(genealogy.getBirth()!=null){ |
| | | if(genealogy.getBirth()!=null&&data.getBirth()!=null){ |
| | | if(data.getBirth().compareTo(genealogy.getBirth())!=0){ |
| | | it.remove(); |
| | | continue; |
| | |
| | | LambdaQueryWrapper<ZInfoUser> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(ZInfoUser::getUserId, userId); |
| | | List<ZInfoUser> list = list(lqw); |
| | | |
| | | user = list.get(0); |
| | | if(list.size()>0) |
| | | user = list.get(0); |
| | | else |
| | | return null; |
| | | |
| | | } |
| | | |