会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白玉神驹
专注、认真、执着!
博客园
首页
新随笔
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
46
下一页
2023年5月4日
Java8把list转为map
摘要: 收集其中两个字段 public Map<Long, String> getIdNameMap(List<Account> accounts) { return accounts.stream().collect(Collectors.toMap(Account::getId, Account::ge
阅读全文
posted @ 2023-05-04 20:30 白玉神驹
阅读(148)
评论(0)
推荐(0)
2023年4月27日
Java把实体转为map对象
摘要: 方式一 import org.springframework.cglib.beans.BeanMap; BeanMap.create(entityObj); 方式二 import com.alibaba.fastjson.JSONObject; //方式1、强转为JSONObject JSONObj
阅读全文
posted @ 2023-04-27 17:24 白玉神驹
阅读(442)
评论(0)
推荐(0)
idea禁止自动导入和避免自动引入import.*包
摘要: 1. file–>setting–>Editor–>General–>Auto Import,去掉勾选即可。 2. file->setting->Editor->CodeStyle->Java->Imports->设置上限
阅读全文
posted @ 2023-04-27 13:46 白玉神驹
阅读(2834)
评论(0)
推荐(0)
2023年4月21日
Maybatis-Plus lambdaQuery与lambdaUpdate
摘要: lambdaQuery与lambdaUpdate 1. 等于 //EQ 就是 EQUAL等于 taskFlowService.lambdaQuery().eq(TaskFlow::getCreateTime,DateUtil.now()) 2. 不等于 //NE就是 NOT EQUAL不等于 tas
阅读全文
posted @ 2023-04-21 13:24 白玉神驹
阅读(539)
评论(0)
推荐(0)
2023年4月19日
本地依赖安装
摘要: mvn install:install-file -Dfile=D:\usr\local\repository\xx\xx.jar -DgroupId=pom中的依赖groupId -DartifactId=pom中的依赖artifactID -Dversion=pom中版本号 -Dpackagin
阅读全文
posted @ 2023-04-19 13:48 白玉神驹
阅读(24)
评论(0)
推荐(0)
linux查找命令:简单的会一个就可以
摘要: which 命令语法:which 【命令】 例如:which cat ;which mkdir;which useradd;which ls;which pwd whereis 命令查找(对具备执行权限的命令文件进行查找) locate 依赖数据库的查找(可以查找任意文件) 命令语法:locate
阅读全文
posted @ 2023-04-19 10:10 白玉神驹
阅读(31)
评论(0)
推荐(0)
2023年4月18日
maven : 无法将“maven”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
摘要: 解决思路:1、打开CMD,测试Java、mvn等命令是否能够运行,如果不能运行那就是Java环境的问题,参考:Java初学教程进行配置;2、如果上一步没问题,右键IDEA,以管理员身份运行即可。
阅读全文
posted @ 2023-04-18 18:30 白玉神驹
阅读(3012)
评论(0)
推荐(0)
2023年3月31日
千万级数据量表如何快速添加索引/字段
摘要: 添加字段语句 ALTER TABLE id_t ADD title(255) DEFAULT '' COMMENT '标题' AFTER id; 问题 线上的一张表如果数据量很大千万级,执行加字段加索隐操作就会锁表,这个过程可能需要很长时间甚至导致服务崩溃,那么这样操作就很有风险了。 解决一 1.
阅读全文
posted @ 2023-03-31 11:32 白玉神驹
阅读(1837)
评论(0)
推荐(0)
2023年3月20日
chatgpt常见问题2-连接客户端工具
摘要: 客户端地址:https://github.com/lencx/ChatGPT/releases
阅读全文
posted @ 2023-03-20 16:25 白玉神驹
阅读(132)
评论(0)
推荐(0)
chatgpt使用中常见问题1-Access denied
摘要: 背景 使用的免费版本,突然不能用了,反问被拒绝 You do not have access to chat.openai.com.The site owner may have set restrictions that prevent you from accessing the site. 解
阅读全文
posted @ 2023-03-20 16:21 白玉神驹
阅读(4133)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
46
下一页
公告