排序
MySQL SQL 语句 where 1=1
MySQL SQL 语句 where 1=1 在 mall 项目中,看到这样的 sql 语句: select * from user where 1=1 其中这个 where 1=1 是有特殊意义的,包含以下两种情境:动态 SQL 拼接和查询表结构。 动态 SQ...
Netty 聊天系统
Netty 聊天系统 引入依赖 该聊天项目是一个标准的多模块 spring boot 项目,只需要引入四个基本的依赖包。 netty 提供易于使用的 API 客户端/服务器框架,disruptor 高性能无锁队列进行消息生产...
Snippets
Snippets 001 循环遍历将列表转为树结构 public List<UmsPermissionNode> treeList() { List<UmsPermission> permissionList = list(); return permissionList.stream() .filter(pe...




