
摘 要
在当今社会,各行各业都离不开信息处理,这正是计算机被广泛应用到酒店餐饮管理
系统的环境。使用计算机进行控制,不仅提高了工作效率,而大大的提高了它的安全性,
尤其对于复杂的信息管理,计算机能够充分发挥它的优越性。餐饮管理系统是进行信息的
采集、储存、加工、维护和使用系统。它的功能对酒店的服务者和管理者都非常重要。餐
饮管理系统能够为酒店营业提供钱、后台自动结算,对于酒店经营者来说可以轻松的查阅
酒店的业绩以及相关的信息等。避免了以往人工管理的许多缺点。
本系统采用 java 平台作为开发平台使用 sqlserver 数据库作为开发数据库,在本文中将
会问你介绍本系统的需求分析,概要设计,详细设计等部分内容。
关键词:数据库;Java。

Abstract
In today's society, all walks of life can not be separated from information processing, which
is the computer has been widely applied to the hotel and catering management system
environment. The use of computer control, not only improve work efficiency, and greatly
improved its security, especially for complex information management, computer can give full
play to its advantages. Catering management system is information collection, storage,
processing, maintenance and use of the system. It features of hotel service and management are
very important. Catering management system for hotel business to provide money, background
automatic settlement, for the hotel operator can easily access to the hotel 's performance and
related information. To avoid the previous manual management many shortcomings.
The system uses Java platform as the development platform uses SQLSERVER database as
a development of the database, in this article will ask you to introduce the system needs analysis,
the outline design, detailed design part.
Keywords:Database;JAVA

目录
1. 项目概述 ......................................................3
1.1 现系统的概述......................................................................................................................................................3
1.2 组织机构及业务范围..........................................................................................................................................3
1.2.1 使用方便 ...........................................................3
1.2.2 强化管理 ...........................................................4
1.2.3 开源节流 ...........................................................4
1.2.4 提高服务 ...........................................................4
1.2.5 安全稳定 ...........................................................4
1.3 现在系统存在的问题及薄弱环节分析 ..............................................................................................................6
2. 需求分析 ......................................................7
2.1 总体目标..............................................................................................................................................................7
2.2 具体目标..............................................................................................................................................................7
2.3 系统功能建模 ......................................................................................................................................................9
2.3.1 系统 ER 图 ..........................................................9
2.3.2 数据字典 ..........................................................10
2.4 系统数据模型 ....................................................................................................................................................11
3. 概要设计 .....................................................14
3.1 JSP 技术 .............................................................................................................................................................14
3.2 接口设计............................................................................................................................................................15
3.3 代码设计 ............................................................................................................................................................16
3.3.1 代码设计原则 ......................................................16
3.4 运行设计 ............................................................................................................................................................16
3.4.1 运行环境 ..........................................................16
3.4.2 运行控制 ..........................................................16
3.4.3 运行时间 ..........................................................17
3.5 出错处理设计 ....................................................................................................................................................17
3.5.1 出错输出信息 ......................................................17
3.5.2 出错处理对策 ......................................................17

3.6 安全保密设计 ....................................................................................................................................................17
3.6.1 数据安全性 ........................................................17
3.6.2 登录用户的安全性 ..................................................18
3.6.3 操作安全性 ........................................................18
3.7 维护设计 ............................................................................................................................................................18
4 详细设计 .......................................................19
4.1 菜谱信息模块 ...................................................................................................................................................19
4.1.1 模块的定义 ........................................................19
4.1.2 输入项目 ..........................................................19
4.1.3 输出项目 ..........................................................19
4.1.4 程序逻辑 ..........................................................20
4.1.5 页面 ..............................................................20
4.2 登录模块 ............................................................................................................................................................21
4.2.1 模块的定义 ........................................................21
4.2.2 输入项目 ..........................................................21
4.2.3 输出项目 ..........................................................21
4.2.4 程序逻辑 ..........................................................21
4.2.5 页面 ..............................................................22
4.3 订餐信息模块 ....................................................................................................................................................22
4.3.1 模块的定义 ........................................................22
4.3.2 输入项目 ..........................................................22
4.3.3 输出项目 ..........................................................22
4.3.4 程序逻辑 ..........................................................23
4.3.4 页面 ..............................................................23
4.4 结算信息模块 ....................................................................................................................................................24
4.4.1 模块的定义 ........................................................24
4.4.2 输入项目 ..........................................................24
4.4.3 输出项目 ..........................................................24
4.4.4 程序逻辑 ..........................................................25
4.4.4 页面 ..............................................................25

5 系统测试 ......................................................26
5.1 测试目的与目标..............................................................................................................................................26
5.2 测试方法..........................................................................................................................................................26
5.3 测试结论..........................................................................................................................................................27
结束语 ..........................................................28
致 谢 ..........................................................29
参考文献 ........................................................30