上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 46 下一页
摘要: 收集其中两个字段 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)
摘要: 方式一 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)
摘要: 1. file–>setting–>Editor–>General–>Auto Import,去掉勾选即可。 2. file->setting->Editor->CodeStyle->Java->Imports->设置上限 阅读全文
posted @ 2023-04-27 13:46 白玉神驹 阅读(2834) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: which 命令语法:which 【命令】 例如:which cat ;which mkdir;which useradd;which ls;which pwd whereis 命令查找(对具备执行权限的命令文件进行查找) locate 依赖数据库的查找(可以查找任意文件) 命令语法:locate 阅读全文
posted @ 2023-04-19 10:10 白玉神驹 阅读(31) 评论(0) 推荐(0)
摘要: 解决思路:1、打开CMD,测试Java、mvn等命令是否能够运行,如果不能运行那就是Java环境的问题,参考:Java初学教程进行配置;2、如果上一步没问题,右键IDEA,以管理员身份运行即可。 阅读全文
posted @ 2023-04-18 18:30 白玉神驹 阅读(3012) 评论(0) 推荐(0)
摘要: 添加字段语句 ALTER TABLE id_t ADD title(255) DEFAULT '' COMMENT '标题' AFTER id; 问题 线上的一张表如果数据量很大千万级,执行加字段加索隐操作就会锁表,这个过程可能需要很长时间甚至导致服务崩溃,那么这样操作就很有风险了。 解决一 1. 阅读全文
posted @ 2023-03-31 11:32 白玉神驹 阅读(1837) 评论(0) 推荐(0)
摘要: 客户端地址:https://github.com/lencx/ChatGPT/releases 阅读全文
posted @ 2023-03-20 16:25 白玉神驹 阅读(132) 评论(0) 推荐(0)
摘要: 背景 使用的免费版本,突然不能用了,反问被拒绝 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 下一页