摘要:
Java对象转为JSON数据步骤: 导入 Jackson 相关 jar 包创建 Jackson 核心对象 ObjectMapper调用 ObjectMapper 的相关方法进行转换转换方法: writeValue(参数,obj)参数为File:将obj 对象转换为Json字符串,并保存到指定的文件中 阅读全文
摘要:
SELECT st_astext(shape) as wkt FROM 表名 a where a.id=''; wkt数据 POLYGON((106.076314 32.753701,106.071810 32.757590,106.071679 32.758162,106.071541 32.75 阅读全文
摘要:
使用array_agg(distinct(字段名)),array_to_string(字段名,',') select array_to_string(array_agg(distinct(ele_table)),',') from entity_classification where code i 阅读全文