| | |
| | | public IPage selectUIn(IPage<List> page, String deptid, String name, String hold, String photo, String examinationtype, String dispatch, String soil) { |
| | | return page.setRecords(baseMapper.selectUIn(page,deptid, name, hold, photo, examinationtype, dispatch,soil)); |
| | | } |
| | | |
| | | /** |
| | | * 查询学历统计信息 |
| | | * @param deptid 部门id |
| | | * @param jurisdiction 辖区 |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Object getEducationStatistics(String deptid, String jurisdiction) { |
| | | //查询学历分布情况,按学历分组统计对应的人数 |
| | | List<Map<String,Object>> mapList = baseMapper.getEducationStatistics(deptid,jurisdiction); |
| | | return mapList; |
| | | } |
| | | |
| | | /** |
| | | * 获取部门信息() |
| | | * @param information |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Object getInformationDetails(InformationVO information) { |
| | | //根据部门id 查询部门信息(如果有总公司,则遍历出总公司来) |
| | | List<String> deptIdList = baseMapper.getDeptDetails(information); |
| | | //取第一个查询部门信息 |
| | | InformationVO informationVO = baseMapper.getInformationDetails(deptIdList.get(0)); |
| | | //返回 |
| | | return informationVO; |
| | | } |
| | | } |