随笔 - 502  文章 - 1 评论 - 6 阅读 - 37万
< 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

01 2022 档案
java 8常用转换方法
摘要:List<对象>遍历 list.stream().forEach(item-> { XXX业务 }); List<对象> 判定是否存在符合条件的对象 Boolean exists = list.stream().filter(item-> (123).equals((Integer) item.ge 阅读全文
posted @ 2022-01-06 10:01 1161588342 阅读(178) 评论(0) 推荐(0) 编辑
Mysql 给表某个字段加唯一约束
摘要:参考网址: http://c.biancheng.net/view/2445.html DROP TABLE IF EXISTS `test`;CREATE TABLE `test` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增ID', 阅读全文
posted @ 2022-01-06 09:47 1161588342 阅读(551) 评论(0) 推荐(0) 编辑
MySQL实现自增序列
摘要:参考:https://blog.csdn.net/weixin_42383575/article/details/103023379 新建序列 ### 新建序列表 drop table if exists sequence; create table sequence( seq_name VARCH 阅读全文
posted @ 2022-01-05 13:21 1161588342 阅读(1265) 评论(0) 推荐(0) 编辑

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