| | |
| | | /** |
| | | * 更新空间位置 |
| | | * |
| | | * @param tab 表名 |
| | | * @param gid GID |
| | | * @param geom 空间位置 |
| | | * @param tab 表名 |
| | | * @param gid GID |
| | | * @param wkt WKT |
| | | * @return 影响行数 |
| | | */ |
| | | @Update("update ${tab} set geom = ST_GeomFromText('${geom}') where gid = #{gid}") |
| | | public Integer updateGeom(@Param("tab") String tab, @Param("gid") Integer gid, @Param("geom") String geom); |
| | | @Update("update ${tab} set geom = ST_GeomFromText('${wkt}') where gid = #{gid}") |
| | | public Integer updateGeom(@Param("tab") String tab, @Param("gid") Integer gid, @Param("wkt") String wkt); |
| | | } |