12345678910111213141516171819202122232425262728293031323334353637 |
- [
- {
- "query_type": "land_site_selection",
- "query": "帮我在萧山区推荐几块50亩左右的工业用地,数据表是控制性详细规划",
- "sql_code": "select id from sde.kzxxxgh where xzqmc = '萧山区' and ydxz like '%工业%' and abs(ydmj - 50*0.0667) <= 1 and shape is not null order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 5"
- },
- {
- "query_type": "land_site_selection",
- "query": "帮我在萧山区推荐一宗1公顷左右的学校用地,数据表是控制性详细规划",
- "sql_code": "select id from sde.kzxxxgh where xzqmc = '萧山区' and ydxz like '%学校%' and abs(ydmj - 1) <= 1 and shape is not null order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 1"
- },
- {
- "query_type": "land_site_selection",
- "query": "帮我在萧山区推荐几块50亩左右的工业用地,数据表是公告地块",
- "sql_code": "select id from sde.ecgap_klyzy where xzqmc = '萧山区' and tdyt like '%工业%' and abs(dkmj-5) <= 1 and shape is not null and sfsj=1 order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 5"
- },
- {
- "query_type": "land_site_selection",
- "query": "请在萧山机场附近选出30-100亩之间的工业用地,数据表是公告地块",
- "sql_code": "select t.id from (select id,dkmj,dkcsd,ghfhd,dkgzd,jtblx,cyppd,round(st_distance(st_geometryfromtext('POINT (120.42827489304307 30.23751646603668)', 4490)::geography,shape::geography)::numeric,0) as distance from sde.ecgap_klyzy where tdyt like '%工业%' and sfsj=1 and shape is not null and dkmj BETWEEN 30 and 100) as t where t.distance <= 10000 order by (dkcsd + ghfhd + dkgzd + jtblx + cyppd) desc nulls last limit 5"
- },
- {
- "query_type": "land_site_selection",
- "query": "帮我在萧山机场附近推荐几块50亩左右的工业用地,数据表是控制性详细规划",
- "sql_code": "select t.id from (select id,dkcsd,ghfhd,dkgzd,jtblx,cyppd,ydmj,round(st_distance(st_geometryfromtext('POINT (120.42827489304307 30.23751646603668)', 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_type": "land_site_selection",
- "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": "请在萧山区找出面积最大的商业用地,数据表是控制性详细规划",
- "sql_code": "SELECT id FROM sde.kzxxxgh WHERE xzqmc = '萧山区' AND ydxz LIKE '%商业%' AND shape IS NOT NUL ORDER BY ydmj DESC LIMIT 1;"
- }
- ]
|