91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 791KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-07
  • 語言: Java
  • 標(biāo)簽:

資源簡介

本系統(tǒng)設(shè)計實現(xiàn)的目標(biāo)是對賓館的客房管理、客戶信息管理和餐廳服務(wù)管理功能,前臺用java實現(xiàn)對數(shù)據(jù)的添加,刪除,查詢等功能,在后臺用Sql server作為數(shù)據(jù)庫,其中數(shù)據(jù)庫設(shè)計是用PowerDesigner.v11軟件設(shè)計的。 本系統(tǒng)就是利用計算機(jī)信息提高了餐館賓館的管理水平,主要對系統(tǒng)的操作員權(quán)限、菜收銀客房、客戶等信息管理。系統(tǒng)操作權(quán)限管理可以實現(xiàn)對操作員的添加、刪除、修改操作,并設(shè)置操作員對指定用戶進(jìn)行密碼修改。 賓館的信息量大,數(shù)據(jù)安全性和保密性要求高。本系統(tǒng)實現(xiàn)對賓館信息的管理和總體的統(tǒng)計等,營業(yè)信息的查看和維護(hù)。操作管理人員可以瀏覽,查詢,添加,刪除等賓館的基本信息等。

資源截圖

代碼片段和文件信息

import?java.awt.*;
import?java.awt.event.*;
import?javax.swing.*;
import?java.io.*;
import?java.util.*;
import?java.sql.*;


public?class?AddRooms?extends?JPanel?implements?ActionListener
{
Hashtable?基本信息表=null;
JTextField?房間號房間位置;
JTextArea?描述;
JButton?錄入重置;
Choice?房間類型;
Statement??statement=null;
JLabel?添加客房信息=null;

public?AddRooms(Statement?statement)
{
this.statement=statement;
房間號=new?JTextField(10);
房間位置=new?JTextField(10);
描述?=new?JTextArea(710);

錄入=new?JButton(“錄入“);
重置=new?JButton(“重置“);
錄入.addActionListener(this);
重置.addActionListener(this);

Box?box0=Box.createHorizontalBox();
添加客房信息=new?JLabel(“--添加客房信息--“JLabel.CENTER);
添加客房信息.setFont(new?Font(“TimesRoman“Font.BOLD25));
添加客房信息.setForeground(Color.red);
box0.add(添加客房信息);



Box?box1=Box.createHorizontalBox();
box1.add(new?JLabel(“房間號:“JLabel.CENTER));
box1.add(房間號);



??房間類型=new?Choice();
?????????房間類型.add(“普通單人間“);
?????????房間類型.add(“普通雙人間“);
?????????房間類型.add(“vip單人間“);
?????????房間類型.add(“vip雙人間“);
?????????房間類型.add(“豪華貴賓間“);
?????????房間類型.add(“總統(tǒng)套間“);



Box?box2=Box.createHorizontalBox();
box2.add(new?JLabel(“房間類型:“JLabel.CENTER));
box2.add(房間類型);

Box?box3=Box.createHorizontalBox();
box3.add(new?JLabel(“房間位置:“JLabel.CENTER));
box3.add(房間位置);

Box?box4=Box.createHorizontalBox();
box4.add(new?JLabel(“單價?:“JLabel.CENTER));
box4.add(new?JScrollPane(描述)BorderLayout.CENTER);

Box?boxH=Box.createVerticalBox();
boxH.add(box0);
boxH.add(box1);
boxH.add(box2);
boxH.add(box3);
boxH.add(box4);

boxH.add(Box.createVerticalGlue());
JPanel?pCenter=new?JPanel();
pCenter.add(boxH);
setLayout(new?BorderLayout());
add(pCenterBorderLayout.CENTER);
JPanel?pSouth=new?JPanel();
pSouth.add(錄入);
pSouth.add(重置);
add(pSouthBorderLayout.SOUTH);
validate();
}


public?void?actionPerformed(ActionEvent?e)
{
ResultSet?resultset=null;
boolean?boo=false;
if(e.getSource()==錄入)
{
int?number=0;

??try{
?????number=Integer.parseInt(房間號.getText().toString());
?????boo=true;
??}
?catch(Exception?e1){
?boo=false;
?}

if(boo&&(number>0))
{

try{
resultset=statement.executeQuery(“use?賓館客戶數(shù)據(jù)庫;select?*?from?RoomsInfo?where?RoomId=‘“+number+“‘“);
?try{
?resultset.next();
?resultset.getInt(“RoomId“);
?String?warning=“該客房信息已存在請到修改頁面修改!“;
JOptionPane.showMessageDialog(thiswarning“警告“JOptionPane.WARNING_MESSAGE);

?}
?catch(Exception?e1){
??????int?RoomId=Integer.parseInt(房間號.getText().toString());
??????String?RCategory=房間類型.getSelectedItem().toString();
??????String?RPostion=房間位置.getText().toString();
??????String?Description=描述.getText().toString();
??????String?str=“use?賓館客戶數(shù)據(jù)庫;insert?into?RoomsInfo?values(“+RoomId+“‘“+RCategory+“‘‘“+RPostion+“‘‘“+Description+“‘)“;
?????try{
??????statement.executeUpdate(str);
??????statement.executeUpdate(“use?賓館客戶數(shù)據(jù)庫;insert?into?RoomStatus?values(“+RoomId+““+1+“)“);
??????JOptionPane.showMessageDialog(this“成功錄入客房信息!““提示“JOptionPane.WARNING_M

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????663??2008-12-29?00:50??賓館客房管理系統(tǒng)\使用說明.txt

?????文件????1048576??2008-12-29?00:07??賓館客房管理系統(tǒng)\賓館客房數(shù)據(jù)庫\賓館客戶數(shù)據(jù)庫_Log.LDF

?????文件????1048576??2008-12-29?00:07??賓館客房管理系統(tǒng)\賓館客房數(shù)據(jù)庫\賓館客戶數(shù)據(jù)庫_Data.MDF

?????文件???????3628??2008-12-07?14:26??賓館客房管理系統(tǒng)\源代碼\CheckRoom.java

?????文件???????4215??2008-12-07?14:24??賓館客房管理系統(tǒng)\源代碼\CheckStaff.java

?????文件???????4050??2008-12-09?15:36??賓館客房管理系統(tǒng)\源代碼\CustomerInformation.java

?????文件???????4092??2008-12-07?14:25??賓館客房管理系統(tǒng)\源代碼\DeleteRoom.java

?????文件???????5122??2008-12-07?17:50??賓館客房管理系統(tǒng)\源代碼\FrontServerAdd.java

?????文件???????8524??2008-12-07?13:43??賓館客房管理系統(tǒng)\源代碼\FrontServerDelete.java

?????文件???????6102??2008-12-25?12:41??賓館客房管理系統(tǒng)\源代碼\HoteLand.java

?????文件???????5897??2008-12-07?18:13??賓館客房管理系統(tǒng)\源代碼\HotelManagerMen.java

?????文件???????6778??2008-12-10?13:17??賓館客房管理系統(tǒng)\源代碼\HoteMen.java

?????文件???????5222??2008-12-07?15:59??賓館客房管理系統(tǒng)\源代碼\ModifyRoom.java

?????文件???????7776??2008-12-07?16:51??賓館客房管理系統(tǒng)\源代碼\RoomCheckOut.java

?????文件???????4800??2008-12-06?14:11??賓館客房管理系統(tǒng)\源代碼\RoomOrderModule.java

?????文件???????2906??2008-12-07?17:49??賓館客房管理系統(tǒng)\源代碼\UseOfRooms.java

?????文件??????44728??2008-12-10?12:49??賓館客房管理系統(tǒng)\源代碼\dipaihotel.jpg

?????文件???????4060??2008-12-07?17:54??賓館客房管理系統(tǒng)\源代碼\AddRooms.java

?????文件?????110888??2008-12-25?12:42??賓館客房管理系統(tǒng)\賓館客房管理系統(tǒng).jar

?????文件?????691712??2008-12-26?02:06??賓館客房管理系統(tǒng)\賓館客房管理系統(tǒng)報告(26號?龐景中).doc

?????目錄??????????0??2009-02-22?00:27??賓館客房管理系統(tǒng)\賓館客房數(shù)據(jù)庫

?????目錄??????????0??2009-02-22?00:27??賓館客房管理系統(tǒng)\源代碼

?????目錄??????????0??2009-02-22?00:26??賓館客房管理系統(tǒng)

-----------?---------??----------?-----??----

??????????????3018315????????????????????23


評論

共有 條評論