版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、. 陽光酒店管理系統(tǒng) 詳細設計說明書 090821 班 第六組 . . 目目 錄錄 1 引言引言.3 1.1 編寫目的.3 1.2 背景.3 2 客房管理系統(tǒng)界面功能描述客房管理系統(tǒng)界面功能描述.4 2.1 主界面.4 2.2 散客開單.5 2.3 團體開單.7 2.4 賓客結(jié)帳.8 2.5 客房預訂.9 2.6 營業(yè)查詢.12 2.7 客戶管理.13 2.8 系統(tǒng)設置.16 2.9 關于我們.17 3 餐飲管理系統(tǒng)界面功能描述餐飲管理系統(tǒng)界面功能描述.18 3.1 主界面.18 3.2 菜品管理.19 3.3 菜系管理.20 3.4 臺號管理.21 3.5 日(月、年)結(jié)賬.22 3.6 修
2、改密碼.22 3.7 用戶管理.23 . . 1 引言引言 1.1 編寫目的編寫目的 本文檔為陽光酒店管理系統(tǒng)詳細設計說明書,為陽光酒店管理 系統(tǒng)編碼的主要依據(jù)。 1.2 背景背景 軟件全稱:陽光酒店管理系統(tǒng)。 軟件開發(fā)者:湖州師范學院 090821 班第六組成員 用戶:湖州師范學院 090821 班測試組 本軟件系統(tǒng)主要包括酒店客房管理和餐飲管理兩部分,適合各個 酒店管理的需求。 . . 2 客房管理系統(tǒng)界面功能描述客房管理系統(tǒng)界面功能描述 2.1 主界面主界面 1、系統(tǒng)運行主框架,實時顯示房態(tài)信息。 2、輸入項 lbB.setText(face + 散 客 開 單 -); if(initI
3、DV() /傳數(shù)據(jù)給散客開單窗口 idv.show();/散客開單 initLeftData();/刷新左房間信息欄數(shù)據(jù) /Endif else if(o = bt2 | o = mi12) lbB.setText(face + 團 體 開 單 -); if(initTeam() /傳賓客類型數(shù)據(jù)給團體 開單窗口 tm.show();/團體開單 initLeftData();/刷新左房間信息欄數(shù)據(jù) /Endif . . else if(o = bt3 | o = mi36) lbB.setText(face + 賓 客 結(jié) 帳 -); if(initCKO() /傳數(shù)據(jù)給結(jié)算窗口 co.sho
4、w();/賓客結(jié)帳 initLeftData();/刷新左房間信息欄數(shù)據(jù) /Endif else if(o = bt5 | o = mi17) lbB.setText(face + 客 房 預 訂 -); eg.show();/客房預訂 initLeftData();/刷新左房間信息欄數(shù)據(jù) else if(o = bt6) lbB.setText(face + 營 業(yè) 查 詢 -); qr.show();/營業(yè)查詢 else if(o = bt7) if(puil.equals(普通操作員) /客戶管理 String msg = 對不起,您的權限不能進入 客戶管理 頁面,請用 管理員 ID 登
5、錄 .; JOptionPane.showMessageDialog(null, msg, 提示, JOptionPane.INFORMATION_MESSAGE); return; lbB.setText(face + 客 戶 管 理 -); ct.initDTM1(); /ct.initDTM2(); ct.show(); else if(o = bt8 | o = mi31) 2.2 散客開單散客開單 1、完成對散客的開單任務。最多能追加五個相同類型的房間。 . . 2、輸入項 函數(shù)說明 : * *# public Individual(JFrame frame) : *功能: 散客開單
6、窗口 * *# private void addListener() : *功能: 加事件監(jiān)聽 * *# private void buildPanel() : *功能: 制作主面板 * *# private void initDTM1() : *功能: 初始化可供房間列表 * *# private void initDTM2() : . . *功能: 初始化開單房間列表 * *# private void addRoom() : *功能: 加到開單區(qū) * *# private void subRoom() : *功能: 從開單區(qū)移除 * *# private boolean isValidi
7、ty() : *功能: 測試用戶輸入的數(shù)據(jù)是否合法 * *# private void saveLiveIn() : *功能: 保存賓客入住信息 2.3 團體開單團體開單 1、完成對團體賓客的開單任務。房間數(shù)沒有限制,可同時追加不同 類型的房間。 . . 2、輸入項 函數(shù)說明 : * *# public Team(JFrame frame) : *功能: 散客開單窗口 * *# private void addListener() : *功能: 加事件監(jiān)聽 * *# private void buildPanel() : *功能: 制作主面板 * *# private void initDTM
8、1(String cType) : *功能: 初始化可供房間列表 * *# private void initDTM2() : *功能: 初始化開單房間列表 * *# private void addRoom() : *功能: 加到開單區(qū) * *# private void subRoom() : *功能: 從開單區(qū)移除 * *# private boolean isValidity() : *功能: 測試用戶輸入的數(shù)據(jù)是否合法 * *# private void saveLiveIn() : *功能: 保存所有賓客的入住信息 2.4 賓客結(jié)帳賓客結(jié)帳 1、自動統(tǒng)計每個登記客人在店時所發(fā)生的消
9、費額和應付款額,并完 成結(jié)帳收銀操作。 . . 2、輸入項 # private boolean isValidity() : 測試用戶輸入的數(shù)據(jù)是否合法 *參數(shù) :無 *返回值 :boolean *修飾符 :private *功能 :測試用戶輸入的數(shù)據(jù)是否合法 2.5 客房預訂客房預訂 1、完成增加預訂、修改預訂、刪除預訂,預訂情況的查詢等功能。 . . 添加、修改預訂信息時彈出子窗口。 2、輸入項 public void actionPerformed(ActionEvent ae) Object o = ae.getSource(); if(o=bt1) /增加預定信息 sunsql.ex
10、ecuteUpdate(delete from engage1); String sqlCode = select a.r_type 預定規(guī)格,b.r_no 房間 from roomtype as a,engage1 as b where a.id = b.r_type_id; sunsql.initDTM(ei.dtm1,sqlCode); ei.chk.setSelected(false); ei.show(true); initDTM(); /sunsql.initJComboBox(ei.cb1,select r_type from roomtype where delmark = 0
11、); . . else if(o=bt2) /修改預定信息 if(initMrt() /傳數(shù)據(jù)給窗口 em.show(true);/修改預定信息 initDTM(); /刷新表數(shù)據(jù) /Endif else if(o=bt3) /刪除預定信息 int rRow = tb.getSelectedRows();/刪除預訂信息 if(delInfo (rRow) /執(zhí)行刪除操作 initDTM();/刷新房間表數(shù)據(jù) /Endif else if(o=bt4) /查詢 String s = tf1.getText(); String sqlCode = select a.c_name 賓客姓名,a.c_
12、tel 聯(lián)系電話,b.r_type 預 定房間類型,a.r_no 預定房間編號,a.pa_time 預抵時間,a.keep_time 保留時間,a.eng_time 預定時間,a.remark 備注 + from engage as a,roomtype as b where a.r_type_id = b.id and a.delmark = 0 and b.delmark = 0 and a.engagemark = 2 and (a.c_name like %+s+% or a.r_no like %+s+% or a.c_tel like %+s+%); sunsql.initDTM(
13、dtm,sqlCode); else if(o=bt6) /刷新 String sqlCode = select a.c_name 賓客姓名,a.c_tel 聯(lián)系電話,b.r_type 預 定房間類型,a.r_no 預定房間編號,a.pa_time 預抵時間,a.keep_time 保留時間,a.eng_time 預定時間,a.remark 備注 + from engage as a,roomtype as b where a.r_type_id = b.id and a.delmark = 0 and b.delmark = 0 and engagemark = 2; sunsql.init
14、DTM(dtm,sqlCode); else if(o=bt7) /開設房間 int row = tb.getSelectedRow(); if(row 0) JOptionPane.showMessageDialog(null, 請在預訂列表中選中指定的預 訂房間,開設房間, 提示, JOptionPane.INFORMATION_MESSAGE); return; /Endif if(initIDV(row) . . ev.show(true); initDTM(); /Endif else if(o=mi1) /過濾今日預抵賓客 String date = getDate(); Stri
15、ng start = date + 00:00:00; String end = date + 23:59:59; String sqlCode = select a.c_name 賓客姓名,a.c_tel 聯(lián)系電話,b.r_type 預 定房間類型,a.r_no 預定房間編號,a.pa_time 預抵時間,a.keep_time 保留時間,a.eng_time 預定時間,a.remark 備注 + from engage as a,roomtype as b where a.r_type_id = b.id and a.delmark = 0 and b.delmark = 0 and en
16、gagemark = 2 and a.pa_time between +start+ and +end+; sunsql.initDTM(dtm,sqlCode); else if(o=mi2) /過濾明日預抵賓客 String date = tomorrow(); String start = date + 00:00:00; String end = date + 23:59:59; String sqlCode = select a.c_name 賓客姓名,a.c_tel 聯(lián)系電話,b.r_type 預 定房間類型,a.r_no 預定房間編號,a.pa_time 預抵時間,a.keep_
17、time 保留時間,a.eng_time 預定時間,a.remark 備注 + from engage as a,roomtype as b where a.r_type_id = b.id and a.delmark = 0 and b.delmark = 0 and engagemark = 2 and a.pa_time between +start+ and +end+; sunsql.initDTM(dtm,sqlCode); 2.6 營業(yè)查詢營業(yè)查詢 1、完成結(jié)帳單、全部賓客消費、在店賓客消費、離店賓客消費的查 詢 . . 2、輸入項 # public Query(JFrame f
18、rame) : 構造函數(shù) *參數(shù) :JDialog 對象表示本對話框的父窗口 *返回值 :無 *修飾符 :public *功能 :組建營業(yè)查詢模塊 # private void addListener() : 加事件監(jiān)聽 *參數(shù) :無 *返回值 :無 *修飾符 :private *功能 :加事件監(jiān)聽 2.7 客戶管理客戶管理 1、完成會員基本信息的維護和來賓一覽。 . . 增加、修改會員信息時彈出子窗口。 2、輸入項 public void actionPerformed(ActionEvent ae) Object o = ae.getSource(); if(o=bt1) /=保存 lon
19、g pk = Customer.pk;/得到主鍵 String m_id,m_name,sex,zj_no,m_tel,address; m_id = tf1.getText(); . . m_name = tf2.getText(); sex = cb1.getSelectedItem()+; zj_no = tf3.getText(); m_tel = tf4.getText(); address = tf5.getText(); if(m_name.equals()|zj_no.equals()|m_tel.equals()|address.equals() /若添加項有空值 JOpti
20、onPane.showMessageDialog(null,會員信息有空值,請重新輸入! ); return; else if(!suntools.isNum(tf4.getText() /判斷電話是否由數(shù)字組成 JOptionPane.showMessageDialog(null,聯(lián)系電話必須由數(shù)字組成, 請重新輸入!); tf4.setText(); else /將添加的信息插入會員表 String sqlCode = update member set m_id=+m_id+,m_name=+m_name+,sex=+sex+,zj_no=+zj_no+,m_tel=+m_tel+ ,a
21、ddress=+address+ where pk = +pk; sunsql.executeUpdate(sqlCode); this.setVisible(false); else if(o=bt2) /=取消 this.setVisible(false); else if(o=tf3) tf4.requestFocus(); else if(o=tf4) /判斷必須全部為數(shù)字 if(!suntools.isNum(tf4.getText() /判斷電話是否由數(shù)字組成 JOptionPane.showMessageDialog(null,聯(lián)系電話必須由數(shù)字組成,請重 新輸入!); tf4.
22、setText(); else tf5.requestFocus(); . . 2.8 系統(tǒng)設置系統(tǒng)設置 1、完成房間項目、客戶類型、操作員、計費設置。 2、輸入項 函數(shù)說明 : * *# public AddCustomerType(JDialog dialog) : *功能: 添加新的客戶類型 * *# private void addListener() : *功能: 加事件監(jiān)聽 * *# private boolean isValidity() : *功能: 測試用戶輸入的數(shù)據(jù)是否合法 * *# private void saveAddCustomerType() : *功能: 保存客
23、戶類型 *# public AddRoomInfo(JDialog dialog) : *功能: 添加新的房間信息 * *# private void addListener() : . . *功能: 加事件監(jiān)聽 * *# private void buildPC() : *功能: 制作信息面板 * *# private void buildPS() : *功能: 制作按鍵面板 * 2.9 關于我們關于我們 1、顯示軟件制作小組基本信息。 2、輸入項 public About (JFrame frame) super (frame, 關于我們, true); top = new JLabel
24、(new ImageIcon(pic/about.gif); li= new JLabel (new ImageIcon(pic/line1.gif); fee = new JLabel (技術支持: 版權所有 (C) 2006 SunshineSOFT Corporation.); tit = new JLabel ( 歡 迎 使 用 陽 光 酒 店 管 理 系 統(tǒng)); ver = new JLabel (版本: 2006 Bate1 ); user= new JLabel (軟件用戶: + sunini.getIniKey(UserName); co= new JLabel ( 所屬公司:
25、 + sunini.getIniKey(CompName); boss= new JLabel ( 陽光設計組成員: 顧俊、董豐); . . temp= new JLabel ( ); bt1 = new TJButton (pic/choose.gif, 確 定, ); pm = new JPanel (new BorderLayout (); info = new JPanel (new GridLayout (4, 1, 0, 0); bott = new JPanel (new BorderLayout (); i1 = new JPanel (); i2 = new JPanel (
26、new FlowLayout (FlowLayout.RIGHT); bp = new JPanel (new FlowLayout (FlowLayout.RIGHT, 10 ,8); 3 餐飲管理系統(tǒng)界面功能描述餐飲管理系統(tǒng)界面功能描述 3.1 主界面主界面 1、系統(tǒng)運行主框架,實時顯示餐飲管理信息。 2、輸入項 GridBagConstraints(); gridBagConstraints_5.gridx = 0; gridBagConstraints_5.gridy = 0; panel.add(topLabel, gridBagConstraints_5); final JLabe
27、l leftLabel = new JLabel(); leftLabel.setPreferredSize(new Dimension(140, 0); final GridBagConstraints gridBagConstraints_3 = new GridBagConstraints(); . . gridBagConstraints_3.gridy = 1; gridBagConstraints_3.gridx = 0; panel.add(leftLabel, gridBagConstraints_3); final JLabel rightLabel = new JLabel
28、(); rightLabel.setPreferredSize(new Dimension(55, 0); final GridBagConstraints gridBagConstraints_2 = new GridBagConstraints(); gridBagConstraints_2.gridy = 1; gridBagConstraints_2.gridx = 1; panel.add(rightLabel, gridBagConstraints_2); 3.2 菜品管理菜品管理 1、通過各菜品的編碼、名稱、助記碼等來添加或者刪除各個菜品。 2、輸入項 public MenuDi
29、alog() super(); setModal(true); getContentPane().setLayout(new BorderLayout(); setResizable(true); setTitle(菜品管理); /2012-4-16 Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); setBounds( (int)(screenSize.width*0.1), (int)(screenSize.height*0.1), (int)(scr
30、eenSize.width*0.8), (int)(screenSize.height*0.8); . . final JPanel operatePanel = new JPanel(); operatePanel.setLayout(new GridBagLayout(); getContentPane().add(operatePanel,BorderLayout.NORTH); 3.3 菜系管理菜系管理 1、添加或刪除各個菜系的管理界面。 2、輸入項 public SortDialog() super(); setModal(true); getContentPane().setLay
31、out(new BorderLayout(); setResizable(true); setTitle(菜系管理); /2012-4-16 Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); setBounds( (int)(screenSize.width*0.1), (int)(screenSize.height*0.1), (int)(screenSize.width*0.8), (int)(screenSize.height*0.8); final
32、 JPanel operatePanel = new JPanel(); getContentPane().add(operatePanel, BorderLayout.NORTH); final JLabel sortNameLabel = new JLabel(); operatePanel.add(sortNameLabel); . . sortNameLabel.setText(菜系名稱:); sortNameTextField = new JTextField(); operatePanel.add(sortNameTextField); sortNameTextField.setC
33、olumns(20); final JLabel topPlaceholderLabel = new JLabel(); topPlaceholderLabel.setPreferredSize(new Dimension(20, 40); operatePanel.add(topPlaceholderLabel); 3.4 臺號管理臺號管理 1、對各個臺號進行添加、刪除管理。 2、輸入項 super(); setModal(true); getContentPane().setLayout(new BorderLayout(); setResizable(true); setTitle(臺號
34、管理); /2012-4-16 Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); setBounds( (int)(screenSize.width*0.1), (int)(screenSize.height*0.1), (int)(screenSize.width*0.8), (int)(screenSize.height*0.8); . . 3.5 日(月、年)結(jié)賬日(月、年)結(jié)賬 1、通過此管理界面對酒店每天(月、年)的營業(yè)額進行管理和報表 處理。 2、輸入項 super(); setModal(true); setTitle(日結(jié)賬); /2012-4-16 Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); setBounds( (int)(screenSize.width*0.05), (int)(screenSize.height*0.1), (int)(screenSize.width*0.9), (int)(screenSize.height
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 醫(yī)療診斷、監(jiān)護及治療設備制造考核試卷
- 二零二五年度跨境電子商務平臺運營承包合同2篇
- 合同簽訂授權委托書
- 2025年滬教版七年級歷史下冊月考試卷含答案
- 2025年北師大新版八年級地理上冊月考試卷含答案
- 2025年外研版三年級起點選擇性必修3歷史下冊階段測試試卷
- 2025年度暖通工程綠色建材采購合同4篇
- 二零二五版景區(qū)導覽門牌定制服務合同4篇
- 2025版南京市房產(chǎn)局推廣的房屋抵押權設立合同模板4篇
- 二零二五年度農(nóng)膜行業(yè)人才培養(yǎng)與交流合同3篇
- DB32-T 4444-2023 單位消防安全管理規(guī)范
- 臨床三基考試題庫(附答案)
- 合同簽訂執(zhí)行風險管控培訓
- DB43-T 3022-2024黃柏栽培技術規(guī)程
- 九宮數(shù)獨200題(附答案全)
- 人員密集場所消防安全管理培訓
- 《聚焦客戶創(chuàng)造價值》課件
- PTW-UNIDOS-E-放射劑量儀中文說明書
- JCT587-2012 玻璃纖維纏繞增強熱固性樹脂耐腐蝕立式貯罐
- 典范英語2b課文電子書
- 員工信息登記表(標準版)
評論
0/150
提交評論