SELECT
6370 * acos(
cos(
radians(#{lat})) * cos(radians(weidu)) * cos(radians(jingdu) - radians(#{lng})) + sin(radians(#{lat})) * sin(radians(weidu))) AS distance,
qiyemingcheng,jingdu,weidu,id
from ${tableId}
SELECT
6370 * acos(
cos(
radians(#{lat})) * cos(radians(weidu)) * cos(radians(jingdu) - radians(#{lng})) + sin(radians(#{lat})) * sin(radians(weidu))) AS distance,
qiyemingcheng,jingdu,weidu,id
from ${tableId}