摘要:
Spring Boot的自动配置原理基于@SpringBootApplication注解,它封装了@SpringBootConfiguration、@EnableAutoConfiguration和@ComponentScan。@EnableAutoConfiguration是核心,它通过@Impo 阅读全文
摘要:
select st_asgeojson(geom) geom, st_asgeojson(st_centriod(geom)) "centerJson" from xxxtable where geom is not null and st_intersects(geom,ST_geomFromTe 阅读全文
摘要:
select *, row_number() over(PARTITION by 某某字段 order by 排序字段) as rn from table 例子: select * from ( select *, row_number() over(PARTITION by 某某字段 order 阅读全文
摘要:
select t.table_name, obj_description(c.oid) as table_comment from information_schema.tables t left join pg_class c on t.table_name::text = c.relname w 阅读全文
摘要:
SELECT st_srid(geom) FROM qysjsx_qyjcxx where uni_scid = '91440300MA5ER4GH88';--查询坐标系,结果样式:4326 // 按经纬度设置坐标update temp_gaoxin_qiye_address_location se 阅读全文
摘要:
1、新建序列化类xxxSerializer,继承JsonSerializer<T>,T依据要序列化的字段类型而定,可以是String,可以是Date: @Configuration public class xxxSerializer extends JsonSerializer<String>{ 阅读全文