| | |
| | | @Override |
| | | public IPage<EquipmentVO> selectDeptPages(IPage<EquipmentVO> page, EquipmentVO equipment,String pid,String dxdype) { |
| | | |
| | | List deptIdList; |
| | | if (pid != null && !pid.equals("")){ |
| | | deptIdList = SysCache.getDeptChildIds(Long.valueOf(pid)); |
| | | }else{ |
| | | deptIdList = SysCache.getDeptChildIds(null); |
| | | } |
| | | return page.setRecords(baseMapper.selectDeptPages(page,equipment,deptIdList,dxdype)); |
| | | // List deptIdList; |
| | | // if (pid != null && !pid.equals("")){ |
| | | // deptIdList = SysCache.getDeptChildIds(Long.valueOf(pid)); |
| | | // }else{ |
| | | // deptIdList = SysCache.getDeptChildIds(null); |
| | | // } |
| | | return page.setRecords(baseMapper.selectDeptPages(page,equipment,pid,dxdype)); |
| | | } |
| | | |
| | | |