Compare commits
2 Commits
640c30a09a
...
8b60c949a0
| Author | SHA1 | Date |
|---|---|---|
|
|
8b60c949a0 | |
|
|
5dbafcf2ac |
|
|
@ -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 () =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue