I
职工工资管理系统设计与实现
摘 要
本职工工资管理系统是针对目前职工工资管理的实际需求,从实际工作出发,对过
去的职工工资管理系统存在的问题进行分析,结合计算机系统的结构、概念、模型、原
理、方法,在计算机各种优势的情况下,采用目前 jsp 中最流行 SSM 框架和 myeclipse
编辑器、MySQL 数据库设计并实现的 。本职工工资管理系统主要包括系统用户管理模块、
部门信息模块、级别信息管理、员工信息管理、工资信息管理、登录模块、和退出模块
等多个模块。它帮助职工工资管理实现了信息化、网络化,通过测试,实现了系统设计
目标,相比传统的管理模式,本系统合理的利用了职工工资管理数据资源,有效的减少
了职工工资管理的经济投入,大大提高了职工工资管理的效率。
关键词:职工工资管理;SSM 框架;MySQL 数据库
II
ABSTRACT
The wage management system for local employees is aimed at the actual needs of the
current wage management of employees. From the actual work, the problems existing in the
past wage management system for employees are analyzed, and the structure, concept, model,
principle, and method of the computer system are combined with various advantages of the
computer. Under the circumstances, Designed and implemented using the most popular SSM
framework and myeclipse editor in the current JSP, MySQL database. The employee salary
management system mainly includes system user management module, department
information module, level information management, employee information management,
salary information management, login module, and exit module. It has helped to realize the
informatization and networking of employee wage management, and has achieved the goal of
system design through testing. Compared with the traditional management model, the system
has reasonably used the data resources of employee wage management and effectively
reduced the economic investment of employee wage management. It has greatly improved the
efficiency of employee salary management..
【key words】:Staff salary management; SSM framework; MySQL database
III
目 录
摘 要 ...................................................................................................................................I
ABSTRACT ........................................................................................................................I
目 录...............................................................................................................................III
第 1 章 绪论.......................................................................................................................1
1.1 开发背景................................................................................................................1
1.2 开发意义................................................................................................................1
1.3 研究内容................................................................................................................1
第 2 章 主要技术和工具介绍...........................................................................................1
2.1 SSM 框架..............................................................................................................1
2.1.1. Spring 框架 ................................................................................................1
2.1.2 SpringMVC..................................................................................................1
2.1.3 MyBatis........................................................................................................2
2.2 MySQL 数据库......................................................................................................2
2.3 jsp 技术 ..................................................................................................................2
第 3 章 系统分析...............................................................................................................5
3.1 可行性分析............................................................................................................5
3.1.1 经济可行性..................................................................................................5
3.1.2 技术可行性..................................................................................................5
3.1.3 操作可行性..................................................................................................5
3.2 需求分析................................................................................................................5
3.3 员工信息流程分析................................................................................................6
3.4 数据流程分析........................................................................................................7
第 4 章 系统设计...............................................................................................................9
4.1 系统结构设计........................................................................................................9
IV
4.2 功能模块设计........................................................................................................9
4.3 数据库设计..........................................................................................................10
4.3.1 数据库设计概述........................................................................................10
4.3.1 概念设计....................................................................................................10
4.3.2 表设计........................................................................................................11
第 5 章 系统实现...........................................................................................................14
5.1 基本任务..............................................................................................................14
5.2 登录模块的实现..................................................................................................14
5.2.1 首页实现....................................................................................................14
5.2.2 管理员后台登录........................................................................................15
5.3 管理员模块的实现..............................................................................................18
5.31 用户管理模块的实现.................................................................................18
5.3.2 部门信息管理模块的实现........................................................................19
5.3.3 级别信息管理模块的实现........................................................................21
5.3.4 员工信息管理模块的实现........................................................................23
5.3.5 工资信息管理模块的实现........................................................................25
第 6 章 系统测试...........................................................................................................28
6.1 测试目的..............................................................................................................28
6.2 测试概述..............................................................................................................28
6.3 单元测试..............................................................................................................28
6.3.1 添加测试....................................................................................................28
6.3.2 登录测试....................................................................................................29
6.4 集成测试..............................................................................................................30
第 7 章 总结...................................................................................................................31
致 谢...............................................................................................................................32