Browse Source

设备入库报错处理

zyg 1 year ago
parent
commit
207c33c08f

+ 1 - 2
src/main/java/cn/fastfun/service/impl/AppDeviceLogServiceImpl.java

@@ -165,8 +165,7 @@ public class AppDeviceLogServiceImpl extends JpaServiceImp<AppDeviceLog, String>
             }
             new Timestamp(System.currentTimeMillis());
         }
-        if (!StringUtils.isEmpty(gpsData.get("devcode"))
-                && Double.parseDouble(String.valueOf(gpsData.get("devcode"))) <= 0) {
+        if (!StringUtils.isEmpty(gpsData.get("devcode"))) {
             checkLocationResult = false;
         }