Compare commits

..

2 Commits

Author SHA1 Message Date
洁 任 8b60c949a0 Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/LASAPlatform 2025-07-11 17:10:15 +08:00
洁 任 5dbafcf2ac 修改地图标注 2025-07-11 17:10:12 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -1001,7 +1001,7 @@ namespace OpenAuth.App.ServiceApp
StringBuilder geomSql = new StringBuilder();
geomSql.AppendFormat(
$" update lasa_shpdata set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{id}'");
$" update lasa_annotation set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{id}'");
////更新面积
//StringBuilder sql = new StringBuilder();
@ -1058,7 +1058,7 @@ namespace OpenAuth.App.ServiceApp
StringBuilder geomSql = new StringBuilder();
geomSql.AppendFormat(
$" update lasa_shpdata set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{model.Id}'");
$" update lasa_annotation set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{model.Id}'");
//使用事务提交数据
var transFlag = await db.UseTranAsync(async () =>