|
@@ -26,8 +26,8 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"query_type": "land_site_selection",
|
|
"query_type": "land_site_selection",
|
|
- "query": "帮我在温州南站附近推荐几块50亩左右的工业用地,温州南站的坐标为120.58,27.97,数据表是控制性详细规划",
|
|
|
|
- "sql_code": "select t.id from (select id,dkcsd,ghfhd,dkgzd,jtblx,cyppd,ydmj,round(st_distance(st_geometryfromtext('POINT (120.58 27.97)', 4490)::geography,shape::geography)::numeric,0) as distance from sde.kzxxxgh where ydxz like '%工业%' and shape is not null and abs(ydmj - 50*0.0667) <= 1) as t where t.distance <= 10000 order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 5"
|
|
|
|
|
|
+ "query": "帮我在温州南站附近推荐几块工业用地,温州南站的坐标为120.58,27.97,数据表是控制性详细规划",
|
|
|
|
+ "sql_code": "select t.id from (select id,dkcsd,ghfhd,dkgzd,jtblx,cyppd,ydmj,round(st_distance(st_geometryfromtext('POINT (120.58 27.97)', 4490)::geography,shape::geography)::numeric,0) as distance from sde.kzxxxgh where ydxz like '%工业%' and shape is not null) as t where t.distance <= 10000 order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 5"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"query_type": "land_site_selection",
|
|
"query_type": "land_site_selection",
|