| | |
| | | |
| | | @Override |
| | | public IPage<GdApplicationInnovationVO> selectGdApplicationInnovationPage(IPage<GdApplicationInnovationVO> page, GdApplicationInnovationPageParam gdApplicationInnovation) { |
| | | if(gdApplicationInnovation.getIsQueryAll()){ |
| | | List<Long> deptList = new ArrayList<>(); |
| | | if (!AuthUtil.isAdministrator()) { |
| | | deptList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId())); |
| | | } |
| | | if (gdApplicationInnovation.getIsQueryAll()) { |
| | | List<Long> deptList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId())); |
| | | gdApplicationInnovation.setDeptList(deptList); |
| | | } |
| | | } |
| | | return page.setRecords(baseMapper.selectGdApplicationInnovationPage(page, gdApplicationInnovation)); |
| | | } |
| | | |