|
|
|
|
@ -113,7 +113,7 @@ public class RpcApplyService extends ServiceImpl<RpcApplyMapper, RpcApply> {
|
|
|
|
|
if (rightPeoples.stream().noneMatch(item -> "1".equals(item.getCouncil()))) { |
|
|
|
|
Set<String> departIds = rightPeoples.stream().map(RpcRightPerson::getDepartId).collect(Collectors.toSet()); |
|
|
|
|
List<String> childrenIds = departService.getAllNodeIds(departIds); |
|
|
|
|
queryWrapper.in("a.handle_depart_id", childrenIds); |
|
|
|
|
queryWrapper.in("a.depart_id", childrenIds); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
queryWrapper.like(StrUtil.isNotBlank(queryParam.getApplicantEmpName()), "a.applicant_emp_name", queryParam.getApplicantEmpName()) |
|
|
|
|
|