From 2f55cebbad3dea187a5f91d16ec80a9677dab699 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 13 十一月 2024 11:16:53 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/service/LocationService.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/yssh/service/LocationService.java b/src/main/java/com/yssh/service/LocationService.java
index 8fe8d60..9946d9f 100644
--- a/src/main/java/com/yssh/service/LocationService.java
+++ b/src/main/java/com/yssh/service/LocationService.java
@@ -9,11 +9,6 @@
 import java.util.ArrayList;
 import java.util.List;
 
-/**
- * @author wMeng
- * @date 2022/10/30 13:25
- * @version 1.0
- */
 @Service
 public class LocationService {
     @Resource
@@ -50,8 +45,9 @@
         }
 
         List<Location> list = new ArrayList<>();
+        // 1绫�=0.0000089932
         for (Location loc : vocAddrs) {
-            if (Math.abs(loc.getLon() - x) <= 0.00009 && Math.abs(loc.getLat() - y) <= 0.00009) {
+            if (Math.abs(loc.getLon() - x) <= 0.0009 && Math.abs(loc.getLat() - y) <= 0.0009) {
                 list.add(loc);
             }
         }

--
Gitblit v1.9.3