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/resources/mapper/LocationMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/LocationMapper.xml b/src/main/resources/mapper/LocationMapper.xml index ac2cb80..d826e52 100644 --- a/src/main/resources/mapper/LocationMapper.xml +++ b/src/main/resources/mapper/LocationMapper.xml @@ -16,9 +16,9 @@ <select id="selectByXY" resultMap="locationResult"> <include refid="locationSql"></include> <where> - lon between (#{x} - 0.00009) and (#{x} + 0.00009) + lon between (#{x} - 0.0009) and (#{x} + 0.0009) and - lat between (#{y} - 0.00009) and (#{y} + 0.00009) + lat between (#{y} - 0.0009) and (#{y} + 0.0009) </where> </select> -- Gitblit v1.9.3