{"id":14983093,"url":"https://github.com/emiriobomb/zgc-ems","last_synced_at":"2025-10-29T21:30:37.411Z","repository":{"id":193614803,"uuid":"294444794","full_name":"EmirioBomb/zgc-ems","owner":"EmirioBomb","description":"ZGC后台员工管理系统，基于SpringBoot + FreeMarker + Mybatis + shrio + redis + MySQL/Oracle等开发多模块化后台管理系统。本项目设计相对简单，具体业务逻辑与数据存储相对保守只用作学习。系统实现的功能模块有员工管理，部门管理，用户管理，角色管理，资源管理，文件上传，Druid数据库监控等。本项目初衷用于学习开发！","archived":false,"fork":false,"pushed_at":"2020-09-18T00:36:14.000Z","size":2311,"stargazers_count":55,"open_issues_count":0,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-29T08:41:02.242Z","etag":null,"topics":["jquery","mybatis","mysql","oracle","redis","shrio","springboot","springmvc","sweetalert"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmirioBomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-10T15:11:35.000Z","updated_at":"2024-09-24T10:28:34.000Z","dependencies_parsed_at":"2023-09-09T03:27:19.360Z","dependency_job_id":"7161e5d0-88ed-4ead-8250-e36fd7949b6a","html_url":"https://github.com/EmirioBomb/zgc-ems","commit_stats":null,"previous_names":["emiriobomb/zgc-ems"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmirioBomb%2Fzgc-ems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmirioBomb%2Fzgc-ems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmirioBomb%2Fzgc-ems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmirioBomb%2Fzgc-ems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmirioBomb","download_url":"https://codeload.github.com/EmirioBomb/zgc-ems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219857296,"owners_count":16556070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jquery","mybatis","mysql","oracle","redis","shrio","springboot","springmvc","sweetalert"],"created_at":"2024-09-24T14:06:43.871Z","updated_at":"2025-10-29T21:30:36.744Z","avatar_url":"https://github.com/EmirioBomb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ZGC后台员工管理系统\n---\n\n#### 项目描述\n\u003e ZGC后台员工管理系统，基于SpringBoot + FreeMarker + Mybatis + shrio + redis + MySQL/Oracle等开发多模块化后台管理系统。本项目设计相对简单，具体业务逻辑与数据存储相对保守只用作学习。系统实现的功能模块有员工管理，部门管理，用户管理，角色管理，资源管理，文件上传，Druid数据库监控等。本项目初衷用于学习开发！\n\n#### 运行预览\n[![wDY559.gif](https://s1.ax1x.com/2020/09/14/wDY559.gif)](https://imgchr.com/i/wDY559)\n___\n\n#### 前/后开发技术栈\n* 后台: SpringBoot + MyBatis + FreeMarker + Shiro + Redis等\n\n* 前端: BootStrap + JQuery + zTree +  sweetAlert + Bootstrap-table等\n---\n#### 项目结构\n![wDJpod.png](https://s1.ax1x.com/2020/09/14/wDJpod.png)\n\n#### 数据库E-R关系图\n[![wD4mxP.png](https://s1.ax1x.com/2020/09/14/wD4mxP.png)](https://imgchr.com/i/wD4mxP)\n\n#### 功能列表\n* 用户管理: 用于管理后台系统的用户，可进行增删改查等操作。\n* 角色管理: 分配权限，通过角色给用户分配权限。\n* 部门管理: 通过不同的部门来管理和区分用户。\n* 员工管理: 用于管理员工个人信息，可进行增删改查等操作。\n* 信息统计: 通过E-Charts统计员工与部门的信息。\n* 资源管理: 用于管理用户可使用的资源，如菜单，数据导出等操作。\n* 文件上传: 提供图片文件上传功能，可对图片与Base64的相互转换。\n* 接口文档: 没有严格按照RESTFUL API设计，只是简单使用Swagger查看\n---\n#### 本地项目搭建教程\n\n##### 1. 搭建系统开发环境\n* JDK8+\n* MySQL8.0 或 Oracle, \n* Redis\n* Lombok\n* [通过数据存储过程生成员工表随机数据](https://github.com/EmirioBomb/generate_random_data_mysql8)\n\u003e 注1: 关于数据库选择与配置，具体可根据application.yml文件\n\n\u003e 注2: 关于redis配置，具体可根据application.yml文件\n\n\u003e 注3: 根据具体开发工具和系统安装Lombok，如本人: VSCode的话请在Marketplace查找Lombok，具体请参照Lombok官网\n\n##### 2. 项目导入与运行\n\n* 以VSCode为例\n\n```\n1. 打开vscode后，按下 `ctrl`(windows) / `cmd`(macos) + `shift` + p\n2. git clone\n3. 复制下面链接: https://github.com/EmirioBomb/zgc-ems.git\n4. 选择`当前窗口打开`\n5. 运行方法:\n 5.1. 找到 zhaopin-admin目录下的ZhaopinAdminApplication.java运行\n 或\n 5.2. 按下`ctrl`(windows) / `cmd`(macos) + `，打开控制台输入命令: mvn spring-boot:run\n6. 访问地址: http://locahost:8080\n```\n\n* 其他开发工具\n```\n1. 导入源代码或通过git导入项目\n2. 找到ZhaopinAdminApplication.java运行即可\n```\n##### 3. 项目打包与运行\n```text\n1. 进入zgc-ems目录\n2. 输入: mvn clean -DskipTests package\n3. 结束后，进入到zhaopin-admin/target目录下，找到xxx.jar文件\n4. 通过: java -jar xxx.jar运行项目即可\n```\n\n##### 4. 运行Release中的jar包\n```text\n1. mysql的密码设为root，redis的密码设为12345\n2. 下载zgc-ems-v1.0.0.jar到本地\n3. 通过: java -jar zgc-ems-v1.0.0.jar 运行项目\n```\n---\n\n#### 运行预览\n\n##### 1. 员工管理预览\n[![wDcD1O.gif](https://s1.ax1x.com/2020/09/14/wDcD1O.gif)](https://imgchr.com/i/wDcD1O)\n\n##### 2. 部门管理预览\n![ws4OeK.gif](https://s1.ax1x.com/2020/09/15/ws4OeK.gif)\n\n##### 3. 文档接口预览\n[![wWZYBF.gif](https://s1.ax1x.com/2020/09/17/wWZYBF.gif)](https://imgchr.com/i/wWZYBF)\n\n#### 总结\n\u003e 此项目对于基本的框架使用与开发有了不少的认识，接下来还需要增加很多功能，如用户分配，部门权限，部门资源等等。有待完善海量数据时的查询优化，提高部分功能的严谨性，比起Layui的简易开发性，Bootstrap在这方面不太友好，但在使用中感受到了更深的理解与流程，受益非浅。此项目为后续的新项目做好了基础，基于此项目的经验上会接着开发另一个比较流行且性能效率等会有显著提升的更完善的后台脚手架。To Be Continued ......","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femiriobomb%2Fzgc-ems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femiriobomb%2Fzgc-ems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femiriobomb%2Fzgc-ems/lists"}