吉安感知网项目-后端
linwei
2026-02-12 150e7984510dd3cd18319418aae5f99224d96d64
drone-service/drone-fw/src/main/java/org/sxkj/fw/cockpit/service/impl/CockpitServiceImpl.java
@@ -77,6 +77,7 @@
         Region byCode = RegionCache.getByCode(dept.getAreaCode());
         fwDevice.setRegionCode(HeaderUtils.formatAreaCode(byCode.getCode()));
         fwDevice.setCurrentDeptId(AuthUtil.getDeptId());
         fwDevice.setFlyTime(new Date());
      IPage<CockpitFwDeviceVO> cockpitFwDeviceVOIPage = fwDeviceService.selectCockpitDevicePage(page, fwDevice);
      return cockpitFwDeviceVOIPage;
   }
@@ -152,6 +153,7 @@
      Region byCode = RegionCache.getByCode(dept.getAreaCode());
      fwDeviceDTO.setCurrentDeptId(AuthUtil.getDeptId());
      fwDeviceDTO.setRegionCode(HeaderUtils.formatAreaCode(byCode.getCode()));
      fwDeviceDTO.setFlyTime(new Date());
      return fwDeviceService.getDeviceStatistics(fwDeviceDTO);
   }