Compare commits

..

No commits in common. "8b60c949a06166cb152e108cf6f8b5e91186c9f4" and "640c30a09afe7a0dbff7e23f7f828426cff4647f" have entirely different histories.

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_annotation set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{id}'");
$" update lasa_shpdata 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_annotation set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{model.Id}'");
$" update lasa_shpdata set \"Geom\" = st_geomfromtext('{_wktModel}',4326) where \"Id\" = '{model.Id}'");
//使用事务提交数据
var transFlag = await db.UseTranAsync(async () =>