会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
彪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2022年4月22日
java 异步 多线程
摘要: private static String execute() throws ExecutionException, InterruptedException {// 定义线程池 ExecutorService exc = Executors.newFixedThreadPool(20);// 定义
阅读全文
posted @ 2022-04-22 11:04 一杯清茶一本书
阅读(561)
评论(0)
推荐(0)
2022年3月29日
pgsql 模糊查询不区分大小写
摘要: like 变成ILIKE就可以
阅读全文
posted @ 2022-03-29 16:55 一杯清茶一本书
阅读(207)
评论(0)
推荐(0)
2021年12月23日
获取 from data的post 传值
摘要: //获取 from data的post 传值 public String getinput(HttpServletRequest request){ Map map=request.getParameterMap(); Set keSet=map.entrySet(); String s=""; f
阅读全文
posted @ 2021-12-23 15:59 一杯清茶一本书
阅读(127)
评论(0)
推荐(0)
2021年7月8日
pgsql 查每个版本最新的数据
摘要: select uuid from(select *,row_number() over(partition by productid order by time_stamp desc)rn from "automation".data)t where rn=1
阅读全文
posted @ 2021-07-08 17:48 一杯清茶一本书
阅读(157)
评论(0)
推荐(0)
pgsql 修改密码 可以连上数据库的情况下
摘要: 连上数据库 执行ALTER USER postgres WITH PASSWORD 'postgres'; 然后重启服务 查询数据库占用空间大小 select pg_size_pretty(pg_database_size('postgres'));
阅读全文
posted @ 2021-07-08 11:21 一杯清茶一本书
阅读(66)
评论(0)
推荐(0)
2021年7月7日
pgsql 创建自增id
摘要: fgm_automation 空间 upms_log_id_seq 名字 CREATE SEQUENCE "fgm_automation"."upms_log_id_seq" INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CA
阅读全文
posted @ 2021-07-07 10:31 一杯清茶一本书
阅读(250)
评论(0)
推荐(0)
2021年6月25日
往表里追加或者删除字段
摘要: ALTER TABLE test ADD test NVARCHAR(100) NOT NULL DEFAULT '默认值'; ALTER TABLE `test` DROP COLUMN `test`
阅读全文
posted @ 2021-06-25 17:32 一杯清茶一本书
阅读(42)
评论(0)
推荐(0)
2021年6月15日
list 循环添加元素 最后值一样的问题
摘要: 这样循环出来,所有的值都会变成最后一个原因是 ArrayList集合里存的是一个对象的引用。当我们改变对象的值时,之前添加的也会随之改变。List cptlist=new ArrayList(); Map cptmap=new HashMap(); for(String cptRange : CPT
阅读全文
posted @ 2021-06-15 12:02 一杯清茶一本书
阅读(445)
评论(0)
推荐(0)
2021年4月9日
pgsql 时间转时间戳
摘要: extract(epoch from to_timestamp(to_char("",'yyyy-MM-DD hh24:mi:ss'),'yyyy-MM-DD hh24:mi:ss'))*1000 as time
阅读全文
posted @ 2021-04-09 14:31 一杯清茶一本书
阅读(1590)
评论(0)
推荐(0)
2021年3月29日
java SHA-1加密
摘要: String s = DigestUtils.sha1Hex("")
阅读全文
posted @ 2021-03-29 10:01 一杯清茶一本书
阅读(91)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页