ZeroLiYi 3 달 전
부모
커밋
33b6fb491d

+ 2 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/es/service/impl/EsProcessEnterpriseServiceImpl.java

@@ -346,7 +346,7 @@ public class EsProcessEnterpriseServiceImpl extends ServiceImpl<EsProcessEnterpr
346 346
                                 if (longitude.scale() > 6) { // 假设精度不能超过6位小数
347 347
                                     throw new IllegalArgumentException("经度小数位数过多");
348 348
                                 }
349
-                                EsNetworkEntry.setLongitude(longitude);
349
+                                EsProcessEnterprise.setLongitude(longitude);
350 350
                             } catch (NumberFormatException e) {
351 351
                                 throw new NumberFormatException(strings[17] + " 经度格式不正确");
352 352
                             } catch (IllegalArgumentException e) {
@@ -367,7 +367,7 @@ public class EsProcessEnterpriseServiceImpl extends ServiceImpl<EsProcessEnterpr
367 367
                                 if (latitude.scale() > 6) { // 假设精度不能超过6位小数
368 368
                                     throw new IllegalArgumentException("纬度小数位数过多");
369 369
                                 }
370
-                                EsNetworkEntry.setLatitude(latitude);
370
+                                EsProcessEnterprise.setLatitude(latitude);
371 371
                             } catch (NumberFormatException e) {
372 372
                                 throw new NumberFormatException(strings[18] + " 纬度格式不正确");
373 373
                             } catch (IllegalArgumentException e) {