吉安感知网项目-后端
linwei
2026-01-28 c04afebf9cebfd65bf55c2395e732f36f558d208
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/impl/FwDeviceServiceImpl.java
@@ -81,8 +81,8 @@
   }
   @Override
   public List<FwDeviceEntity> selectFwDeviceList(Integer isAreaSelect, Long areaId, Integer status) {
      return baseMapper.selectFwDeviceList(isAreaSelect, areaId, status);
   public List<FwDeviceEntity> selectFwDeviceList(Integer isAreaSelect, Long areaId, Integer status, Integer isTrack) {
      return baseMapper.selectFwDeviceList(isAreaSelect, areaId, status, isTrack);
   }
@@ -161,8 +161,8 @@
   @Override
   public boolean saveOrUpdateDevice(FwDeviceEntity fwDeviceEntity) {
      if (fwDeviceEntity.getEffectiveRangeKm() == null || fwDeviceEntity.getEffectiveRangeKm().compareTo(BigDecimal.ZERO) == 0 ) {
         fwDeviceEntity.setLatitude(null);
         fwDeviceEntity.setLongitude(null);
         fwDeviceEntity.setLatitude("");
         fwDeviceEntity.setLongitude("");
      }
      return saveOrUpdate(fwDeviceEntity);
   }