From 33b0919883649a0be826e0ac897f6bbbaf8d3f63 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 14 七月 2023 16:16:41 +0800 Subject: [PATCH] 1 --- src/main/java/com/yssh/service/LocationService.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/yssh/service/LocationService.java b/src/main/java/com/yssh/service/LocationService.java index 1542413..759d79e 100644 --- a/src/main/java/com/yssh/service/LocationService.java +++ b/src/main/java/com/yssh/service/LocationService.java @@ -52,7 +52,7 @@ 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