|
@@ -15,7 +15,7 @@ async def kg_query(id: str = Query(..., description="ID列表, 逗号分隔")) -
|
|
|
"""
|
|
|
sql = (
|
|
|
"select id, xzqmc, xzqdm, dymc, yddm, ydxz, ydmj, rjlsx, rjlxx, jzmdsx, jzmdxx, "
|
|
|
- "jzgdsx, jzgdxx, ldlsx, ldlxx, pfwh, pfsj, st_area(shape::geography) as pfmarea, "
|
|
|
+ "jzgdsx, jzgdxx, ldlsx, ldlxx, pfwh, pfsj,dkcsd,ghfhd,dkgzd,jtblx,cyppd, st_area(shape::geography) as pfmarea, "
|
|
|
"st_astext(shape) as geom, st_astext(st_centroid(shape)) as center_wkt "
|
|
|
"from sde.kzxxxgh where id in ({id})"
|
|
|
)
|