说明:
数据库:表中没有经度跟纬度字段,只有location字段(point类型) POINT(经度 纬度)
实体类:只有经度 lng 字段、纬度 lat 字段 没有location字段

<!--添加一个小区-->
<insert >
#{tel},
</if>
GeomFromText ('POINT(${lng} ${lat})')
)
</insert>

相关文章:

  • 2021-12-29
  • 2021-11-25
  • 2022-03-02
  • 2022-12-23
  • 2022-02-26
  • 2021-04-09
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案