本科毕业设计(论文)
题目名称: 小型企业考勤管理系统的设计与实现
学 院: 计算机科学技术学院
专业年级: 计算机科学与技术 09级
学生姓名:
班级学号: 计09-1班18号
指导教师: 姜卓
二○一三 年 六 月 八 日
I
摘 要
本论文论述了企业考勤管理系统的开发背景、意义和发展现状。主要介绍了系统的分析,设计和开发的全部过程。运用用例图、逻辑框架、E-R图等对系统的设计过程进行详细的说明。系统采用B/S开发模式,Tomcat做后台服务器,Mysql做后台数据库,中间业务逻辑处理使用Struts +Hibernate+Spring框架技术,Strust用来处理页面的跳转,Hibernate用来处理对数据库的操作,Spring用来管理数据库的事务。本系统主要分管理员权限、部门负责人权限、普通用户权限三种权限。管理员权限可实现员工管理、角色管理、罚金审核等功能;部门负责人权限可实现打卡管理、考勤管理、员工考勤管理、警告管理等功能;普通用户可实现打卡管理、考勤管理、警告查询等功能。本系统功能全面、用户操作界面友好、运行快捷、风格统一、易维护,应用此系统能够实现企业考勤管理系统在考勤领域的智能化、自动化、高效化。
关键词:考勤系统;考勤管理;B/S模式;
I
Abstract
This paper discusses the development background, significance and current situation of the development of enterprise time and attendance management system. Mainly introduced the system analysis, design and development of the whole process. The design process of data flow diagram, logic framework, ER diagram of the system in detail. The full text is divided into introduction, system analysis, system design and implementation, testing, the conclusion of six parts. The system uses the B\\/S mode, Tomcat server, Mysql as the backstage database, business logic processing using Struts +Hibernate+Spring framework, Strust is used to process the page Jump, Hibernate used to deal with the operation of the database, Spring is used to manage database transaction. This system mainly realizes the functions of a clock management, attendance management, role management, authority management, departmental management, staff management, and the audit announcement. The system fully functional, friendly user interface, run fast, the style is unified, easy maintenance, the application of this system can realize the intelligent, automation, high efficiency in the attendance areas of enterprise time and attendance management system.
Key Words:check on work attendance system; attendance management; B/S
mode
II
目 录
摘 要 ......................................................................................................... I Abstract .................................................................................................... II 第1章 绪 论 .......................................................................................... 1 1.1 选题背景 .......................................................................................... 1 1.2 选题意义 .......................................................................................... 1 1.3 研究内容 .......................................................................................... 1 1.4 国内外发展动态 ............................................................................... 2 1.5 设计的指导思想 ............................................................................... 3 第2章 系统分析....................................................................................... 4 2.1 可行性研究 ...................................................................................... 4 2.1.1 技术可行性 ............................................................................... 4 2.1.2 经济可行性研究 ........................................................................ 5 2.1.3 运行、操作可行性 .................................................................... 5 2.1.4 法律可行性 ............................................................................... 5 2.1.5 方案可行性 ............................................................................... 5 2.2 需求分析 .......................................................................................... 6 2.2.1 需求获取 ................................................................................... 6 2.2.2 功能需求 ................................................................................... 6 2.3 数据库分析 .................................................................................... 10 2.3.1 数据库需求分析 ....................................................................... 11 2.3.2 数据库概念结构设计 ............................................................... 11 2.4 开发方案比较 ................................................................................ 12 第3章 系统设计与实现 .......................................................................... 14 3.1 总体功能框图 ................................................................................ 14 3.2 类图 ............................................................................................... 15 3.2.1 部门管理类图 ......................................................................... 16 3.2.2 次数类图 ................................................................................. 16 3.2.3 打卡类图 ................................................................................. 17 3.2.4 警告类图 ................................................................................. 17 3.3 数据库的设计 ................................................................................ 18 3.4 人机界面设计 ................................................................................ 20 3.4.1 登录页面 ................................................................................. 21 3.4.2 用户注册页面 ......................................................................... 21 3.4.3 系统主页面 ............................................................................. 22
I
3.4.4 员工管理页面 ......................................................................... 23 3.4.5 部门管理页面 ......................................................................... 24 3.4.6 罚金审核页面 ......................................................................... 24 3.4.7 打卡页面 ................................................................................. 25 3.4.8 考勤记录页面 ......................................................................... 26 3.4.9 员工考勤记录页面 .................................................................. 27 3.4.10 警告页面 ............................................................................... 29 第四章 测 试 ........................................................................................ 31 4.1 系统测试的定位 ............................................................................. 31 4.2 白盒测试 ........................................................................................ 32 4.3 黑盒测试 ........................................................................................ 33 4.4 系统测试结论 ................................................................................ 34 结 论 ................................................................................................... 35 致 谢 ................................................................................................... 36 参考文献 ................................................................................................... 37 附 录 ................................................................................................... 38
II