摘 要

信息化的迅速发展,对人们的衣食住行产生了很大影响。越来越多的人习惯并依赖于通过信息技术和智能化的形式来处理日常各类事物。为了满足住店用户预定酒店的需要,以及适应现代化酒店管理的需求,决定开发酒店管理系统。帮助会员快速的在线预定,提高了预定效率。

本系统是选择面向对象的Java语言开发,通过SSM框架进行设计,使用关系型数据库MySQL存储数据,对酒店系统的各种数据如酒店客房信息、价格信息等进行实时分析。使用B/S开发方式,用户只需要通过浏览器访问系统即可获取酒店客房信息,并可以在线预定客房等,实现了信息的科学管理与查询统计。本文先通过对相关系统的调研,提出开发酒店管理系统的意义,然后使用当前主流的技术进行开发,满足酒店管理系统的技术要求,分析系统需要实现的功能并进行设计。梳理业务流程,并根据功能设计数据库,最后通过编码实现,介绍实现的关键算法逻辑。在测试阶段通过测试用例来确保系统可以正常运行,并达到前期要求的目的。系统的实施方便了酒店管理,将信息化技术完美的应用在酒店客房管理系统中,使得酒店客房管理变得快捷高效。


关键词:Java;数据库;酒店;客房预定;SSM


 

Summary

The rapid development of information technology has had a great impact on people's clothing, food, housing and transportation. More and more people are accustomed to and rely on information technology and intelligent forms to deal with all kinds of daily things. In order to meet the needs of hotel reservation and modern hotel management, we decided to develop a hotel management system based on Spark. Help members to book online quickly and improve the booking efficiency.

The system is developed in object-oriented Java language, designed through the SSM framework, uses the relational database MySQL to store data, and combines Spark to conduct real-time analysis of various data of the hotel system, such as hotel room information, price information, etc. Using the B/S development mode, users only need to access the system through the browser to obtain the hotel room information, and can book rooms online, etc., realizing the scientific management and query statistics of information. This paper first puts forward the significance of developing the hotel management system based on Spark through the investigation of relevant systems, and then uses the current mainstream technology to develop it, meet the technical requirements of the hotel management system based on Spark, analyze the functions that the system needs to achieve and design. Sort out the business process, design the database according to the function, and finally implement it by coding, introducing the key algorithm logic. In the test phase, test cases are used to ensure that the system can operate normally and achieve the purpose of the preliminary requirements. The implementation of the system facilitates the hotel management. The perfect application of information technology in the hotel room management system makes the hotel room management become fast and efficient.


Keywords: Java; database hotel; Room reservation; SSM


 

目 录

摘 要 III

Summary IV

1 绪论 1

1.1 研究背景及意义 1

1.2 国内外研究现状 1

1.3 本文结构 2

2  技术介绍 3

2.1 开发工具和开发语言 3

2.2 SSM框架简介 3

2.2.1 Mybatis 3

2.2.2 Spring 3

2.2.3 Spring MVC 3

2.3 MYSQL数据库 3

2.4 spark技术 4

3  系统分析 5

3.1 可行性分析 5

3.1.1 经济可行性 5

3.1.2 技术可行性 5

3.1.3 操作可行性 5

3.1.4 时间可行性 5

3.2 需求分析 5

3.2.1会员用户 6

3.2.2 管理员 6

4  系统设计 8

4.1 体系结构设计 8

4.2 功能结构设计 9

4.3 数据库设计 10

5  系统实现 16

5.1 前台功能实现 16

5.1.1 登录 16

5.1.2 网站首页 16

5.1.3 客房预定 17

5.1.4 预定支付实现 18

5.1.5 个人中心 18

5.2 后台管理端实现 18

5.2.1 登录 19

5.2.2 酒店客房管理 19

5.2.3 会员管理 19

5.2.4 客房预定管理 20

5.2.5 可视化大屏分析 20

5.2.6修改密码 21

6  系统测试 22

6.1 概述 22

6.2 测试目的 22

6.3 系统功能测试 23

6.3.1登录测试 23

6.3.2 修改密码模块测试 23

6.3.3 删除会员模块测试 24

6.3.4 客房预定模块测试 25

6.4 测试结果 25

7  结论与展望 26

致 谢 27

参考文献 29


系统的可行性分析,可以展现系统的应用价值,通过系统的全面应用,实现了系统的预期发展目标,在无法完成预期目标过程中不得不终止系统服务,导致工作的前期浪费。所以在系统开发工作中,可行性分析具有重大的应用价值。

3.1.1 经济可行性

作为开发者,所使用的系统资源相对免费,所以在开发系统中花费的资源相对较少,所以不需要投入大量的资本,就可以开展系统研发服务。所以在开发该系统的过程当中,形成的费用可以基本忽略。通过自身研究的开发系统,可以全面保证信息的保密性,最大程度的展现了管理者的信息价值,总体来讲,从经济的角度来分析,系统的应用开发价值相对较大。

3.1.2 技术可行性

本系统使用Java开发框架,选择SSM,部署到Tomcat服务器,无论是系统框架还是服务器功能都比较完善,可以满足系统的性能要求。创造有利于酒店管理系统的数据环境,并可以提供便于扩展的框架技术。在操作系统方面选择Windows系统进行开发和部署。后期也可以搭建到其他平台上,所以开发本系统的技术具有可行性。

3.1.3 操作可行性

在酒店管理系统的开发过程当中,在后端应用了SSM框架作为前端开发程序,具有较强的兼容性,管理员只要在电脑上安装了相应的操作系统,就能开展系统操作,并且整个操系统的操作方式也较为快捷,整个操作流程也较为简单,用户能够较快上手,只需要用简单的电脑操作技能就能够完成上网行为,所以操作的可行性较强。

3.1.4 时间可行性

笔者在系统开发过程当中预留了6个月的时间,对系统的需求进行了功能分析,并明确了模块的具体价值,初步设计代码应用了4个月的时间,剩余的时间进行了系统的整体测试,查找了应用系统的不足表现,全面优化了系统的相关功能,理论上来讲时间较为充足。

基于java的酒店管理系统的设计与实现-计算机毕业设计源码+LW文档_Java

基于java的酒店管理系统的设计与实现-计算机毕业设计源码+LW文档_管理系统_02