方法传入两个参数myLongitude(经度)、myLatitude(纬度)
public Page<Map<String, Object>> findByDistance(String myLongitude, String myLatitude)
station_longitude, station_latitude是表里的字段名
sql.append(" TRUNCATE(st_distance_sphere( point ( " +myLongitude + " , ");
//直接计算两点距离
sql.append(myLatitude + " ), point (station_longitude, station_latitude )),2) 'distance' ");
//直接计算两点距离