From d9b3c35ef2f7346ea547f332a52ddb91abee4097 Mon Sep 17 00:00:00 2001 From: qyx <565485304@qq.com> Date: Tue, 13 Apr 2021 11:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 53 ++++--------------- .../src/test/java/me/zhengjie/StreamTest.java | 18 +++++++ 2 files changed, 29 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 0b3233a..3445ba3 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,22 @@ -

EL-ADMIN 后台管理系统

+

百业 - 教育业务治理平台

[![AUR](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/elunez/eladmin/blob/master/LICENSE) -[![star](https://gitee.com/elunez/eladmin/badge/star.svg?theme=white)](https://gitee.com/elunez/eladmin) -[![GitHub stars](https://img.shields.io/github/stars/elunez/eladmin.svg?style=social&label=Stars)](https://github.com/elunez/eladmin) -[![GitHub forks](https://img.shields.io/github/forks/elunez/eladmin.svg?style=social&label=Fork)](https://github.com/elunez/eladmin)
#### 项目简介 -一个基于 Spring Boot 2.1.0 、 Spring Boot Jpa、 JWT、Spring Security、Redis、Vue的前后端分离的后台管理系统 +基于 eladmin - 开源框架为基础 -**开发文档:** [https://el-admin.vip](https://el-admin.vip) +技术栈:Spring Boot 2.1.0 、 Spring Boot Jpa、 JWT、Spring Security、Redis、 Vue -**体验地址:** [https://el-admin.xin](https://el-admin.xin) - -**账号密码:** `admin / 123456` - -#### 项目源码 +#### 项目源码地址 | | 后端源码 | 前端源码 | |--- |--- | --- | -| github | https://github.com/elunez/eladmin | https://github.com/elunez/eladmin-web | -| 码云 | https://gitee.com/elunez/eladmin | https://gitee.com/elunez/eladmin-web | +| 公司仓库 | http://git.hchbox.com/yuyou/eladmin.git | http://47.110.11.213:3000/BY_FE_team/plat1-eladmin-web | -#### 主要特性 +#### eladmin 原始框架主要特性 - 使用最新技术栈,社区资源丰富。 - 高效率开发,代码生成器可一键生成前后端代码 - 支持数据字典,可方便地对一些状态进行管理 @@ -36,7 +28,7 @@ - 支持在线用户管理与服务器性能监控,支持限制单用户登录 - 支持运维管理,可方便地对远程服务器的应用进行部署与管理 -#### 系统功能 +#### eladmin 原始框架系统功能 - 用户管理:提供用户的相关配置,新增用户后,默认密码为123456 - 角色管理:对权限与菜单进行分配,可根据部门设置角色的数据权限 - 菜单管理:已实现菜单动态路由,后端可配置化,支持多级菜单 @@ -54,7 +46,7 @@ - 服务监控:监控服务器的负载情况 - 运维管理:一键部署你的应用 -#### 项目结构 +#### eladmin 原始框架项目结构 项目采用按功能分模块的开发方式,结构如下 - `eladmin-common` 为系统的公共模块,各种工具类,公共配置存在该模块 @@ -67,7 +59,7 @@ - `eladmin-generator` 为系统的代码生成模块,代码生成的模板在 system 模块中 -#### 详细结构 +#### eladmin 原始框架详细结构 ``` - eladmin-common 公共模块 @@ -81,30 +73,11 @@ - config 配置跨域与静态资源,与数据权限 - thread 线程池相关 - modules 系统相关模块(登录授权、系统监控、定时任务、运维管理等) + - - eladmin-logging 系统日志模块 - eladmin-tools 系统第三方工具模块 - eladmin-generator 系统代码生成模块 ``` - -#### 系统预览 - - - - - - - - - - - - - - - - - -
#### 特别鸣谢 @@ -120,8 +93,4 @@ - 感谢 [d15801543974](https://github.com/d15801543974) 大佬提供的基于注解的通用查询方式 -#### 项目捐赠 -项目的发展离不开你的支持,请作者喝杯咖啡吧☕ [Donate](https://el-admin.vip/donation/) - -#### 反馈交流 -- QQ交流群:891137268 +- 感谢 [Elune](https://gitee.com/elunez/eladmin) 大佬提供的开源好用的脚手架 diff --git a/eladmin-system/src/test/java/me/zhengjie/StreamTest.java b/eladmin-system/src/test/java/me/zhengjie/StreamTest.java index 77d0f7b..c95bcea 100644 --- a/eladmin-system/src/test/java/me/zhengjie/StreamTest.java +++ b/eladmin-system/src/test/java/me/zhengjie/StreamTest.java @@ -1,8 +1,11 @@ package me.zhengjie; +import cn.hutool.core.io.FileUtil; import cn.hutool.core.util.RandomUtil; import org.junit.Test; +import java.nio.file.Files; +import java.nio.file.Paths; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.ArrayList; @@ -80,5 +83,20 @@ public class StreamTest { System.out.println(" end, "+ end +", cost , " + (end - start)); } + @Test + public void testFilter3() throws Exception{ + List list = Files.readAllLines(Paths.get("H:\\1\\1.txt")); + List list1 = Files.readAllLines(Paths.get("H:\\1\\2.txt")); + + Set collect = list1.stream().collect(Collectors.toSet()); + + + Set collect1 = list.stream().parallel().filter(list1::contains).collect(Collectors.toSet()); + + FileUtil.writeLines(collect, "H:\\1\\3.txt", "utf-8"); + } + + + }