| | |
| | | { |
| | | SysUser loginUser = SecurityUtils.getLoginUser().getUser(); |
| | | bo.setCheckIds(loginUser.getPhonenumber()); |
| | | List<Long> deptIds = deptService.getApplyDeptIdsByLoginUserId(loginUser.getUserId()); |
| | | if (StringUtils.isNotEmpty(deptIds)){ |
| | | bo.setApplyDeptIds(deptIds); |
| | | } else { |
| | | bo.setApplyDeptIds(null); |
| | | } |
| | | // List<Long> deptIds = deptService.getApplyDeptIdsByLoginUserId(loginUser.getUserId()); |
| | | // if (StringUtils.isNotEmpty(deptIds)){ |
| | | // bo.setApplyDeptIds(deptIds); |
| | | // } else { |
| | | // bo.setApplyDeptIds(null); |
| | | // } |
| | | return this.baseMapper.selectCheckList(bo); |
| | | } |
| | | |