生活随笔
收集整理的這篇文章主要介紹了
基于springboot和mysql的人事管理系统设计与实现
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
人事管理系統
目錄
一、系統介紹 2
二、角色運行圖 2
管理員 2
財務專員 3
人事專員 3
普通用戶 4
三、所有功能介紹 4
0.登錄 4
1.績效考核 6
2.招聘管理 7
3.檔案管理 8
4.工資管理 10
5.考勤管理 11
6.培訓管理 12
7.系統管理 16
四、軟件架構 21
五、軟件開發 22
1、項目配置 22
2.過濾器配置 23
3.安全框架shiro配置 23
4.常用工具類 25
5.業務代碼 30
六、項目啟動 33
一、系統介紹
本系統為人事管理系統,系統分為七大模塊:績效考核,招聘管理,檔案管理,工資管理,考勤管理,培訓管理,系統管理。
可滿足小企業日常辦公。本系統最大特色是有強大和靈活的權限控制功能,所有菜單,按鈕功能均可由管理通過配置來控制。
系統默認有四個角色:管理員,財務專員,人事專員,普通用戶
?管理員(admin/admin):可以操作所有功能
?財務專員(cw/cw):可查看工資管理,考勤管理,培訓管理等內容
?人事專員(rs/rs):可查看和管理招聘管理,檔案管理,培訓管理等內容
?普通用戶(wdc/wdc):本文轉載自http://www.biyezuopin.vip/onews.asp?id=14716只可查看工資,打卡考勤,參加培訓等
四、軟件架構
基礎環境:
1.JDK:1.8
2.MySQL:5.7
3.Maven3.0
使用框架:
1.核心框架:Spring Boot 2.1.8.RELEASE
2.視圖框架:Spring MVC 5.0
3.ORM框架:MyBatisPlus 3.1.2
4.數據庫連接池:Druid 1.1
5.安全框架:Apache Shiro 1.4
6.日志:SLF4J 1.7、Log4j
7.前端框架:Layui,ztree,jquery,bootstrap
五、軟件開發
1、項目配置
spring:datasource:type: com.alibaba.druid.pool.DruidDataSourcedruid:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3306/person_system?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghaiusername: rootpassword: 123456initial-size: 10max-active: 100min-idle: 10max-wait: 60000pool-prepared-statements: truemax-pool-prepared-statement-per-connection-size: 20time-between-eviction-runs-millis: 60000min-evictable-idle-time-millis: 300000#Oracle需要打開注釋#validation-query: SELECT 1 FROM DUALtest-while-idle: truetest-on-borrow: falsetest-on-return: falsestat-view-servlet:enabled: trueurl-pattern: /druid/*#login-username: admin#login-password: adminfilter:stat:log-slow-sql: trueslow-sql-millis: 1000merge-sql: falsewall:config:multi-statement-allow: true
2.過濾器配置
@Configurationpublic class FilterConfig {@Beanpublic FilterRegistrationBean shiroFilterRegistration() {FilterRegistrationBean registration = new FilterRegistrationBean();registration.setFilter(new DelegatingFilterProxy("shiroFilter"));//該值缺省為false,表示生命周期由SpringApplicationContext管理,設置為true則表示由ServletContainer管理registration.addInitParameter("targetFilterLifecycle", "true");registration.setEnabled(true);registration.setOrder(Integer.MAX_VALUE - 1);registration.addUrlPatterns("/*");return registration;}@Beanpublic FilterRegistrationBean xssFilterRegistration() {FilterRegistrationBean registration = new FilterRegistrationBean();registration.setDispatcherTypes(DispatcherType.REQUEST);registration.setFilter(new XssFilter());registration.addUrlPatterns("/*");registration.setName("xssFilter");registration.setOrder(Integer.MAX_VALUE);return registration;}}
總結
以上是生活随笔為你收集整理的基于springboot和mysql的人事管理系统设计与实现的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。