08 2024 档案

将本地代码推送到新的远端git仓库
摘要:1、修改本地代码仓库的远端git仓库地址: 右击项目名称->git -> manage remotes,进入路径修改 2、在控制台terminal输入:git push -U origin --all,将本地所有分支推送到远端git仓库 阅读全文

posted @ 2024-08-13 10:14 黑子菜园 阅读(674) 评论(0) 推荐(0) 编辑

根据经纬度查询所在的地块详情
摘要:select st_asgeojson(geom) geom, st_asgeojson(st_centriod(geom)) "centerJson" from xxxtable where geom is not null and st_intersects(geom,ST_geomFromTe 阅读全文

posted @ 2024-08-05 16:43 黑子菜园 阅读(15) 评论(0) 推荐(0) 编辑

pgsql: row_number() over(partition by)按字段分组后,组内排序,各组生产一个rn行号,对标groupby分组不能满足需求时使用
摘要:select *, row_number() over(PARTITION by 某某字段 order by 排序字段) as rn from table 例子: select * from ( select *, row_number() over(PARTITION by 某某字段 order 阅读全文

posted @ 2024-08-05 16:39 黑子菜园 阅读(103) 评论(0) 推荐(0) 编辑

navicat脚本查询整库表名及其注释
摘要: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 阅读全文

posted @ 2024-08-05 16:34 黑子菜园 阅读(84) 评论(0) 推荐(0) 编辑

poi-tl导出word文档
摘要:1、依赖: 2、参考博文: https://blog.csdn.net/qq_31970227/article/details/113246795 https://www.cnblogs.com/pengdai/p/16537534.html#template%E6%A8%A1%E6%9D%BF 3 阅读全文

posted @ 2024-08-02 17:18 黑子菜园 阅读(162) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示