大理学院本科毕业设计酒店餐饮管理系统——菜谱管理、订单管理、用户管理、订餐管理HOTEL CARTING MANAGEMENT SYSTEMMENU MANAGEMENT、ORDER MANAGEMENT、USER MANAGEMENT、ORDERDINERMANAGEMENT学院:数学与计算机学院模块负责人:项目组成员:指导教师:专业:计算机科学与技术年级(班级):07级计算机1班起止日期:2010年8月1日—2010年12月30日制表日期: 2010 年 12 月 4 日大理学院学士学位论文摘要酒店餐饮管理系统软件为酒店餐饮公司带来了极大的方便,使得繁琐的酒店餐饮管理变得非常轻松,于是庞大的人力物力及时间消耗变成了简单快捷的计算机操作。
现在比较知名的国内外网上订餐网站有OpenTable、饭统网、几年前在大阪上市的日本餐饮网站咕嘟妈咪(Gudumami)等,这些都是比较成功的在线订餐网站。
我们开发的酒店餐饮管理系统就是基于在线订餐网站这样一个思想。
开发这个系统所采用的是当前较为流行的编程软件Microsoft Visual Studio 2005,以数据库SQL Server2000作为系统的后台操作,采用统一建模语言(UML)为辅助手段。
其功能在系统内部有源代码直接完成,我们只需按系统要求输入即可操作。
整个系统根据软件工程[1,3]的思想,从需求分析[2]入手,编写用例、绘制用例图、绘制时序图、绘制类图、对象设计、映射再到编程,最后测试;通过不断的测试使系统更完善。
该系统从符合操作简便、界面友好、灵活、实用、安全的原则出发,完成顾客在网上在线订餐以及酒店后台管理的全过程。
各个模块包括:顾客前台注册、登录、顾客前台在线订餐;酒店管理员后台会员管理、订单管理、结账管理、公告管理、员工信息管理、员工工资管理、留言管理、饮食文化管理等功能模块,尽可能满足酒店餐饮管理的需要。
【关键字】:酒店管理;在线订餐;Microsoft Visual Studio 2005;软件工程;统一建模语言;数据库SQL Server2000 ;模块;酒店餐饮在线管理系统I酒店餐饮管理系统The Hotel Carting Management SystemAbstractThe Hotel Carting Management System software brings a great convenience for the hotel restaurant, making the complicated hotel carting management more convenient, and as a result the enormous human and material resources and consumption of time become a simple and quick computer operation. Now more well-known domestic and international online ordering site are OpenTable, rice Unification, a few years ago in Osaka Japanese restaurant listing website gurgle Mummy (Gudumami) and so on, and they are relatively successful online ordering site.We have developed a hotel catering management system that is based on the thought of online ordering site. We adopt more popular programming software like Microsoft Visual Studio 2005 to develop this system. It’s a background operation with SQL Server 2000 and it takes uniform modeling language as tool. The source code complete within function directly. We just input datum by system requirements simply.According to the software engineering [1,3]thoughts and from the demand analysis [2], writing example, drawing use case diagram, drawing sequence diagram, drawing class diagram, object-oriented design, mapping object to programming, final testing, through constant testing system it is more perfect, we have developed a relatively complete Hotel Carting Management System. The system completes the whole process that customer order online and hotel Carting manage in the angle of simple, user friendly, flexible, practical and safe principle. That every Modules includes: customer registering, login, customer front-line ordering; hotel management, back very important people management, order management, billing management, announced management, employee information management, employee payroll management, message management, cooking culture management, and so on, meets the needs of hotel and catering management as far as possible.Key words:hotel management; online ordering; Microsoft Visual Studio 2005; software engineering; Unified Modeling Language; database SQL Server2000; module; hotel restaurant online management systemII大理学院学士学位论文目录摘要 (I)ABSTRACT (II)引言.......................................................... - 1 -第一章绪论................................................... - 1 -1.1酒店餐饮管理系统的概述 (1)1.2开发的背景 (1)1.3可行性的研究 (1)第二章系统开发工具和环境..................................... - 2 -2.1B/S模式简介 (2)2.2V ISUAL 2005编程环境介绍 (2)2.3数据库的概述 (3)2.4开发及运行环境 (3)第三章系统的需求分析......................................... - 4 -3.1编写目的 (4)3.1.1背景说明............................................... - 4 - 3.2任务概述.. (4)3.2.1 系统主要功能.......................................... - 4 -3.2.2目标................................................... - 4 - 3.3其它 (4)3.4处理流程 (5)3.5标志参与者 (5)3.5.1确定系统的参与者....................................... - 5 - 3.6主要的求精用例编写. (5)3.6.1确定系统的用例......................................... - 5 -3.6.2 绘制用例图............................................ - 9 -3.6.3用例术语表............................................ - 11 -3.6.4绘制时序图............................................ - 12 - 第四章对象设计.............................................. - 15 -4.1分析对象 (15)4.1.1 管理员对象设计....................................... - 15 - 4.2绘制类图. (17)4.2.1 管理员信息类类图..................................... - 17 -4.2.2 菜谱信息类类图....................................... - 17 -4.2.3 订单信息类类图....................................... - 17 -4.2.4 餐车信息类类图....................................... - 18 - 第五章映射................................................. - 19 -1酒店餐饮管理系统5.1映射的概述 (19)5.2将对象模型映射到编程环境 (19)5.2.1 对象cp_tb对象模型................................... - 19 -5.2.2对象dd_tb对象模型.................................... - 20 -5.2.3 对象user_tb对象模型................................. - 21 - 5.3将持久性数据对象映射到数据库.. (21)5.4将属性、方法映射到编程环境中 (23)5.4.1公共类DB_gg.cs类,提供一些主要的方法................. - 23 -5.4.2公共类checkcode.cs类,提供一些主要的方法............. - 25 -5.4.3 图片保存到指定文件夹代码............................. - 27 -第六章编程................................................. - 28 -6.1程序代码说明 (28)6.2程序页面以及功能代码 (28)6.2.1 前台顾客订餐页面..................................... - 28 -6.2.2 后台登录页面......................................... - 34 -6.2.3 后台菜谱管理页面..................................... - 36 -6.2.4 新增菜谱页面......................................... - 39 -6.2.5 编辑菜谱页面......................................... - 43 -6.2.6 订单管理页面......................................... - 46 -6.2.7 详细订单页面......................................... - 48 -6.2.8 用户管理页面......................................... - 49 -6.2.8 增加用户页面......................................... - 52 -6.2.9 编辑用户页面......................................... - 53 - 第七章测试................................................. - 56 -7.1测试用例编写的目的 (56)7.2主要的测试项目用列 (56)7.2.1 顾客前台订餐测试用例................................. - 56 -7.2.2 后台菜谱管理用例测试................................. - 58 -7.2.3 后台订单管理用例测试................................. - 60 -7.2.4 后台用户管理用例测试................................. - 62 - 总结..................................................... - 64 -参考文献..................................................... - 65 -致谢..................................................... - 68 -2引言现在的社会,网上购物很流行,而网上订餐也随着网络的普及正在流行起来,它带来的是方便、实惠和个性化。