【正文】
1所示。具體實現(xiàn)代碼如下: if =39。該過程用insert語句將用戶的信息插入到表kf_dengjixinxi和kf_jiezhang中。)。 select count(id) into :num1 from kf_jiezhang。 mit。 for i=1 to shu fetch kf_lx into :ch 。否39。 實現(xiàn)該功能的第一個界面如圖33。 if zhuozt=結帳 then UPDATE canzhuoinfo SET zhuangtai = 39。圖34 第二個界面 該界面主要分兩個區(qū)域,左邊(數(shù)據(jù)窗口dw_1)顯示所有菜的名稱、價格、折扣。 該功能實現(xiàn)的具體思路是:在窗口打開代碼中檢索出數(shù)據(jù)窗口dw_dw_2的數(shù)據(jù),在窗口打開后就將菜譜信息顯示出來。 SELECT count(subclass) into :shu FROM cai_subclass WHERE = :。 if =全部 then =dw_cai_xinxi (sqlca) () else =dw_cai_xinxi1 (sqlca) () end if 在此下拉列表框中,用戶可以對各種菜,主食,酒水等分類進行選擇,然后再在另一個下拉列表框中對它們的子類進行選擇。在第二個數(shù)據(jù)窗口中,有選自表cai_tongji的caiming,jine,Fenshu,zhuohao等字段。實現(xiàn)該功能的界面如圖35。要刪除菜,只需在右側窗口中選中要刪除的菜,單擊刪除按鈕即可。 添加時,首先檢索表cai_tongji中是否有要添加的菜的信息,如果有,用update語句將該菜的份數(shù)加一,金額增加相應的數(shù)目,如果沒有則在cai_tongji表中用insert語句插入該菜的信息,包括菜的名稱,數(shù)量、金額、所屬桌號等。 SELECT count() INTO :fsh FROM cai_tongji WHERE ( = :cai ) AND ( = :zh ) AND ( = 39。否39。 )。)。) 刪除時,首先檢索表cai_tongji表中該菜的份數(shù)為多少,如果份數(shù)大于1,將份數(shù)更新為原份數(shù)減1,如果份數(shù)等于1,則刪除該菜的信息。 )。 )。 SELECT count( ) INTO :idsum FROM cai_tongji 。 UPDATE cai_tongji SET id = :idno WHERE = :idsum。研究這個課題的意義不僅僅在于做出一個實際可用的系統(tǒng),更在于對未成熟的酒店管理系統(tǒng)進行探索。 Poole, D. (2004). PreferenceBased Constrained Optimization with CPNets. Computational Intelligence , 20 (2), 137157.[15] Candillier, L., Meyer, F., amp。Chapter III is the main body of this paper, and it introduces achievement of all the main functions of the modules and the procedure this paper, use the graphics interface application development environment Power Builder and SQL Server 7 database support as a background. In the design process of this paper, through the connections of and database, plete the operation of the existing data in database, thus achieve management system for the entire hotel.Key words Hotel management system。從一開始的設計選題到論文的最終截稿,我親身感受到了要做好一個畢業(yè)設計其中的知識含量光靠我們原先的學習是不夠的,因此,我查閱了許多與該選題相關的文獻并且通過互聯(lián)網(wǎng)也查詢了該選題的發(fā)展情況,但由于我的能力有限,本系統(tǒng)在功能設計方面還是有些不足之處,還有就是在信息排版方面做得還不夠。24 。 感謝我的指導老師,從我的論文選題到論文的撰寫完成老師細心、嚴謹?shù)囊蠛椭笇?,給了我非常大的幫助與支持。 database Power Builder 。, M. (2007). Comparing StateoftheArt Collaborative Filtering Systems. In P. Perner (Ed.), Proceedings of the 5th International Conference on Machine Learning and Data Mining in Pattern Recognition (MLDM 2007). 4571, pp. 548562. Springer.The design of the Hotel Manager SistemZhang Ping(Department of Physics ,Dezhou University,Dezhou,253023)Abstract The paper only against simple functional of the hotel management system makes some designs to achieve the simple management of the hotel. It is divided into three I expounds on the main designing ideas of the application system,including system design sense, functional objectives, functional modular design and the development tools of this application system。參考文獻[1] [M].北京:清華大學出版社,.[2] 馬承志, [M].北京:機械工業(yè)出版社,.[3] 崔杜武, [M].北京:人民郵電出版社,.[4] 政阿奇,[M].北京:工業(yè)出版社,.[5] 徐國智, SEVER 數(shù)據(jù)庫開發(fā)實例精粹電子[M].北京:工業(yè)出版社,.[6] 何旭洪, [M].北京:人民郵電出版社,.[7] [J].辦公自動化, 2010, (04):2642.[8] 白雪峰,[J].電腦知識與技術,2010,(06):1242. [9] [J].合作經(jīng)濟與科技,2010,(07):423.[10] [M].北京:中國紡織出版社,.[11] (第二版)[M].北京:清華大學出版社,.[12] [J].中國食品, 2008,(06): 4243.[13] Adomavicius, G., amp。否39。否39。否39。 je=jg*(fennum 1) UPDATE cai_tong