|
@@ -12,7 +12,7 @@
|
|
{
|
|
{
|
|
"query_type": "land_site_selection",
|
|
"query_type": "land_site_selection",
|
|
"query": "帮我在杭州市滨江区正泰大厦附近推荐一宗50亩左右的标准厂房",
|
|
"query": "帮我在杭州市滨江区正泰大厦附近推荐一宗50亩左右的标准厂房",
|
|
- "sql_code": "select t.* from (select id, dkid, xzqmc, dkmc, address, dkmj, tdyt, round(st_distance(st_geometryfromtext('POINT (120.42827489304307 30.23751646603668)', 4490)::geography,shape::geography)::numeric,0) as distance, st_astext(st_centroid(shape)) as center_wkt from sde.ecgap_klyzy where tdyt ='工业用地' and sfsj=1 and dkmj BETWEEN 30 and 100) as t where t.distance <= 5000 order by t.dkmj nulls last limit 10"
|
|
|
|
|
|
+ "sql_code": "select t.* from (select id, dkid, xzqmc, dkmc, address, dkmj, tdyt, round(st_distance(st_geometryfromtext('POINT (120.42827489304307 30.23751646603668)', 4490)::geography,shape::geography)::numeric,0) as distance, st_astext(st_centroid(shape)) as center_wkt from sde.ecgap_klyzy where tdyt ='工业用地' and sfsj=1 and dkmj BETWEEN 30 and 100) as t where t.distance <= 5000 order by t.dkmj nulls last limit 1"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"query_type": "land_site_selection",
|
|
"query_type": "land_site_selection",
|