当有复杂名称字段时:

 

  在repository中写代码字段名

List<Grid> findByLocIsWithin(GeoJsonPolygon boundary);

可以添加field注解定义数据库字段名

@Field(value = "city_code")
private String cityCode;
@Field(value = "city_id")
private Integer cityId;

相关文章:

  • 2021-09-03
  • 2021-04-19
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
  • 2022-03-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
相关资源
相似解决方案