【正文】
................ 20 消費(fèi)模塊 .................................................................................................... 22 查詢模塊 ................................................................................................... 24 預(yù)訂單查詢模塊 ................................................................................ 24 入住單查詢模塊 ................................................................................ 25 5 . 消費(fèi)單查詢模塊 ............................................................................... 26 空房查詢模塊 .................................................................................... 26 客房入住情況圖模塊 ........................................................................ 27 客房詳細(xì)單(入住)模塊 ................................................................ 27 客房詳細(xì)單(預(yù)訂)模塊 ................................................................ 28 退房模塊 .................................................................................................... 29 3 顧客退房 ............................................................................................ 29 查詢顧客消費(fèi)賬單 ............................................................................ 30 顧客賬單打印 .................................................................................... 31 歷史數(shù)據(jù)模塊 ............................................................................................ 32 系統(tǒng)歷史查詢模塊 ............................................................................ 32 客房操作模塊 .................................................................................... 32 字典維護(hù)模塊 ........................................................................................... 33 客房類型字典模塊 ............................................................................ 33 客房信息字典模塊 ............................................................................ 33 員工字典模塊 .................................................................................... 34 總結(jié) ........................................................... 35 參考文獻(xiàn) ....................................................... 36 附錄 數(shù)據(jù)表 .................................................... 38 致 謝 ......................................................... 41 基于 DELPHI的客房管理系統(tǒng) 1 1 引言 課題背景 當(dāng)今,席卷全球的信息化大潮把信息管理推 到 了時代發(fā)展的前沿,信息管理系統(tǒng)已經(jīng)成為全社會 關(guān) 注 的 焦點 。在信息時代,更重要的是 還必須要有一個完善的 客房 管理系統(tǒng),方便客人以及更好地管理酒店 客房 。 從而可以使經(jīng)營者在競爭日益激烈的酒店服務(wù)行業(yè)中取得優(yōu)勢! 【關(guān)鍵 詞】 酒 店服務(wù) 業(yè),信息化,領(lǐng)域, DELPHI, SQL Server 2020 ABSTRACT A hotel management software of excellent should be achieved first of all hotel departments the information to the fastest, most accurate, most prehensive form of transmission, sharing. This system adopts SQL Server 2020 to set up data source, Delphi database is joined in backstage supporter to run this system. As the information of the development, hotel services and standards of the international market has bee the trend of the times. The hotel industry to meet this chall enge, we will have to improve overall petitiveness, reform the hotel management enhance the management level. Implementation of information technology is to achieve this purpose and the only way to a wise move. At present, China39。人們 可以將大量的繁瑣的工作交給計算機(jī)去完成,從而大大提高了工作效率 。在本書中介紹的是 Microsoft SQL Server , 以后簡稱為 SQL Server 或 MS SQL Server[11]。 前臺服務(wù)員的主要職能是負(fù)責(zé) 預(yù)訂房間、入住房間、消費(fèi)、查詢、消費(fèi) 和退房。從一定程度上具備了開發(fā)一個小型系統(tǒng)的能力 [17]。 ( 2) 系統(tǒng)應(yīng)具有實用性、可靠性和適用性,同時注意到先進(jìn)性。 其各表的詳細(xì)設(shè)計見附錄。 其 功能包括 用戶登錄 、空房查詢、客房預(yù)訂、客房入住、顧客消費(fèi)、信息查詢、顧客退房 等功能,各 部分操作如下: ( 1) 用戶登錄:已登錄用戶可以通過該功能切換用戶登錄 , 進(jìn)而完成相應(yīng)操作。 var user, pass, str, login: string; begin if [2].Value=trim() then begin else if [3].Value=39。,39。39。)39。39。39。)。 Var str,str1,power:string。39。39。,39。39。當(dāng)有操作員不再使用用戶名是,系統(tǒng)管理員就可以通過該模塊進(jìn)行方便的刪除用戶。 (str1)。 :=str2。39。,39。39。39。39。39。 var str1,str2,str3,str4,a,history:string。39。39。39。39。39。如圖 59 所示 。39。,39。39。39。39。39。39。,39。39。39。39。 。select * from bookbill where bookno=39。信息 39。如圖 511 所示 。 :=str1。39。+39。39。+39。+FormatDateTime(39。 。+39。+[2].Text+39。+39。39。+39。+39。+39。,39。 系統(tǒng)歷史查詢 模塊 該模塊是為了對酒店客房系統(tǒng)用戶登錄情況的管理與監(jiān)督。 通過本次設(shè)計,及對論文的撰寫,使我對用 Delphi 設(shè)計程序的總框架有更清晰的了解,以及對 Microsoft SQL Server 數(shù)據(jù)庫的熟練的使用。同時,通過本次程序開發(fā),我意識到開發(fā)前的準(zhǔn)備工作是不容 忽視的。如圖 519 所示。 :=history。39。39。39。39。39。+39。]null)or([39。+39。+39。+trim()+39。+39。+trim()+39。+39。,mtconfirmation,[mbyes,mbno],0)=mryes then begin str1:=39。39。39。 begin if then begin if 39。39。39。39。39。39。,39。 消 費(fèi) 錄 入39。39。39。39。39。insert into bill (checkinno,roomsno,customername,consume,number,money,sum) values (39。,39。39。39。39。39。39。當(dāng)有顧客入住時,酒店客房管理操作員就可以通過該模塊進(jìn)行方便的操作。39。39。39。39。39。insert into bookbill (roomsno,bookno,customername,roomstype,renshu,roomsprice,status,floorno,stype)values(39。 begin str2:=39。39。信息 39。39。39。39。39。 基于 DELPHI的客房管理系統(tǒng) 17 5 .2 .4 申請用戶模塊 該模塊是方便酒店客房管理 系統(tǒng)管理員添加用戶而設(shè)定的。+trim()+39。 (39。 基于 DELPHI的客房管理系統(tǒng) 16 圖 54 修改密碼窗體 程序代碼相關(guān)代碼 【 確認(rèn) 】按鈕的功能主要是通過 ADOquery1 組件與 Update 語句向數(shù)據(jù)庫中修改 數(shù)據(jù),該按鈕的單擊事件代碼如下: Procedure (Sender: TObject)。39。39。39。 圖 52 系統(tǒng)啟動界面 5 .2 .2 系統(tǒng)登陸模塊 該模塊是為了防止非法用戶的登錄及酒店客房管理系統(tǒng)操作員登錄的管理。 圖 45 概念數(shù)據(jù)模型( CDM) 基于 DELPHI的客房管理系統(tǒng) 12 物理數(shù)據(jù)模型( PDM) 由于 CASE 工具 Power Designer 具有正向和逆向的雙向功能,所有既可以從CDM 生成 PDM,有可以從 PDM 生成 CDM。 Microsoft 將 SQL Server 移植到 Windows NT 系統(tǒng)上,專注于開發(fā)推廣 SQL Server 的 Windows NT 版本; Sybase 則較專注于SQL Server 在 UNIX 操作系統(tǒng)上的應(yīng)用。換句話說 : 就是一 本 用圖形方式來反映實際業(yè)務(wù)處理過程的 “流水賬” 。 一般說來,應(yīng)從經(jīng)濟(jì)可行性、技術(shù)可行性、運(yùn)行可行性等方面研究可行性。為了確??蛻艉途频?客房 的信息具有更好的安全性,前臺管理和后臺管理是分離的。通過計算機(jī)管理,一方面提供給客戶快捷、準(zhǔn)確、可靠的服務(wù);一方面提高酒店 客房 自身的管理水平,及時準(zhǔn)確獲取營業(yè)信息,輔助對市場需求變化的決策。 字典維護(hù)模塊 ................................................... 錯誤 !未定義書簽。在激 烈的酒店業(yè)競爭中,如何能把握機(jī)會,保持自己的優(yōu)勢,立于不敗之地呢?這就需要提供最好的服務(wù),提供最完善的設(shè)施和最先進(jìn)的技術(shù)。s hotel services in the information management process has been slow with the foreign hotelmanagem ent continued to lag behind. In the fierce petition in the hotel industry, how can we grasp the opportunity to maintain their advantage, and bee invincible then? This need to provide the best service, to provide the best facilities and most advanced technology. In the information age, more importantly, was that he must have