| | |
| | | import org.sxkj.fw.cockpit.vo.DeviceStatisticsVO; |
| | | import org.sxkj.fw.common.GenericConverter; |
| | | import org.sxkj.fw.device.dto.FwDeviceDTO; |
| | | import org.sxkj.fw.device.dto.FwDevicePolygonQueryDTO; |
| | | import org.sxkj.fw.device.entity.FwDeviceEntity; |
| | | import org.sxkj.fw.device.param.FwDevicePageParam; |
| | | import org.sxkj.fw.device.vo.CockpitFwDeviceVO; |
| | |
| | | return baseMapper.selectFwDeviceList(isAreaSelect, areaId, status, isTrack); |
| | | } |
| | | |
| | | @Override |
| | | public List<FwDeviceEntity> selectFwDeviceListByPolygons(FwDevicePolygonQueryDTO query) { |
| | | return baseMapper.selectFwDeviceListByPolygons(query); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public List<FwDeviceExcel> exportFwDevice(Wrapper<FwDeviceEntity> queryWrapper) { |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<DeviceStatisticsVO> statisticalDeviceType(List<Long> deptList) { |
| | | return baseMapper.statisticalDeviceType(deptList); |
| | | public List<DeviceStatisticsVO> statisticalDeviceType(List<Long> deptList,String currentDeptId) { |
| | | return baseMapper.statisticalDeviceType(deptList,currentDeptId); |
| | | } |
| | | |
| | | /** |
| | |
| | | @Override |
| | | public List<DeviceStatisticsVO> getDeviceManufacturerStatistics() { |
| | | List<Long> deptList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId())); |
| | | deptList.addAll(deptList); |
| | | return baseMapper.getDeviceManufacturerStatistics(deptList); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public AlarmStatisticsVO statisticalDeviceAtt(List<Long> deptList) { |
| | | return baseMapper.statisticalDeviceAtt(deptList); |
| | | public AlarmStatisticsVO statisticalDeviceAtt(List<Long> deptList, String currentDeptId) { |
| | | return baseMapper.statisticalDeviceAtt(deptList, currentDeptId); |
| | | } |
| | | |
| | | @Override |