freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

酒店客房管理系統(tǒng)數(shù)據(jù)庫課程設(shè)計論文[精選整理]-資料下載頁

2024-12-15 04:31本頁面

【導(dǎo)讀】要求越來越高,酒店客房管理業(yè)務(wù)越來越廣泛,而傳統(tǒng)的酒店客房管理單據(jù)繁瑣,難以及時整理,利潤無法及時統(tǒng)計,管理層無法實時查詢營業(yè)情況和客房狀態(tài),工作效率底,給顧客帶來不便。足和健康的發(fā)展。因此,建立酒店客房管理系統(tǒng)成為當(dāng)務(wù)之急。本文采用結(jié)構(gòu)化分析和設(shè)計方法,運用業(yè)務(wù)流程圖,數(shù)據(jù)流程圖和E-R圖等工具實現(xiàn)酒店客房管理系統(tǒng)的分析和設(shè)計。模塊組成,能幫助酒店管理人員快速及時的掌握客房信息,提高工作效率,方便顧客。

  

【正文】 loat 顧客余額 表 3- 2 房間基本信息 列名 數(shù)據(jù)類型 可否為空 說明 Rno char(10) not null 房間編號 Rtype char(20) not null 房間類型 Rprice float not null 房間價格 Rfloor smallint not null 房間樓層 Toward char(10) not null 房間朝向 表 3- 3 房間物品信息 列名 數(shù)據(jù)類型 可否為空 說明 Goodsno char(20) not null 物品編號 Goodsname char(20) not null 物品名字 Oprice float not null 物品價格 Dmultiple float not null 物品索賠倍數(shù) 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 25 表 3- 4 房態(tài)信息 列名 數(shù)據(jù)類型 可否為空 說明 Rno char(10) not null 房間號 Gno char(20) not null 顧客號 Atime datetime 實際入住時間 Ltime datetime 實際退房時間 Rtime datetime 預(yù)訂入住時間 Rltime datetime 預(yù)訂退房時間 IntoPrice float 入住價格 Days int 入住天數(shù) Stime datetime 修改記錄時間 flag char(1) 預(yù)訂入住標志位 表 3- 5 娛樂項目信息 列名 數(shù)據(jù)類型 可否為空 說明 Atno char(20) not null 娛樂項目編號 Atname char(20) not null 娛樂項目名稱 Atprice float not null 娛樂項目單價(時間計費或個數(shù)計費) 表 3- 6 娛樂消費信息 列名 數(shù)據(jù)類型 可否為空 說明 Gno char(20) not null 顧客號 Atno char(20) not null 商品號 Amount float 消費數(shù)量 Wtime datetime not null 消費開始時間 表 3- 7 物品賠償信息 列名 數(shù)據(jù)類型 可否為空 說明 Gno char(20) not null 顧客號 Rno char(10) not null 房間號 Goodsno char(20) not null 物品號 Dnum int 損壞個數(shù) Amendstime datetime Datetime 損壞時間 用戶子模式定義 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 26 表 3- 8 訂房視圖 列名 數(shù)據(jù)類型 可否為空 說明 Gno char(20) not null 顧客號 Rno char(10) not null 房間號 Rtype char(20) not null 房間類型 Rfloor smallint not null 房間樓層 Toward char(10) not null 房間朝向 IntoPrice float not null 入住價格 Rtime datetime not null 入住時間 Rltime datetime not null 打算退房時間 Days int not null 居住天 數(shù) Wtime datetime not null 查看時時間 表 3- 9 入住視圖 列名 數(shù)據(jù)類型 可否為空 說明 Gno char(20) not null 顧客號 Gname char(20) not null 顧客姓名 Rno char(10) not null 房間號 Rtype char(20) not null 房間類型 Rfloor smallint not null 房間樓層 Toward char(10) not null 房間朝向 IntoPrice float not null 入住價格 Atime datetime not null 入住時間 Ltime datetime not null 退房時間 Days int not null 入住天數(shù) Account float not null 預(yù)付金額 Wtime datetime not null 查看時時間 表 3- 10 空房視圖 列名 數(shù)據(jù)類型 可否為空 說明 Rno char(10) not null 房間號 Rtype char(20) not null 房間類型 Rprice float not null 入住價格 Rfloor int not null 房間樓層 Toward char(10) not null 房間朝向 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 27 附錄 4 SQL 語句 建立數(shù)據(jù)表 SQL 語句 ( 1)顧客基本信息表的建立: create table guest ( Gno char(20) not null, Gname char(20)not null, Gsex char(20) not null, Gid char(18) unique not null, Gtel char(11), Gaddress char(20), Account float, Grade int, discount float not null, balance float, primary key (Gno), check (Account = and Grade0) ) ( 2)客房基本信息表的建立: create table Roominfo ( Rno char(10), Rtype char(20)not null, Rprice float not null, Rfloor smallint not null, Toward char(10)not null, primary key (Rno), check (Rfloor between 1 and 100), check (Toward in(39。正北 39。,39。正南 39。,39。正西 39。,39。正東 39。,39。東北 39。,39。西南 39。,39。西北 39。,39。東南 39。)), check (Rtype in(39。標準 139。,39。標準 239。,39。豪華 139。,39。豪華 239。,39。高級 139。,39。高級 239。)), ) ( 3)房態(tài)表的建立: create table RoomState (Rno char(10), Gno char(20), Atime datetime , Ltime datetime, 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 28 Rtime datetime, Rltime datetime, IntoPrice float , Days int , Stime datetime, flag char(1) , primary key (Rno,Gno), foreign key (Rno)references Roominfo(Rno), foreign key (Gno)references guest(Gno), check (flag in(39。139。,39。239。,39。339。)), ) ( 4)娛樂項目基本信息表的建立: create table Atariff ( Atno char(20), Atname char(20)not null, Atprice float not null, primary key (Atno), check (Atprice ) ) ( 5)顧客娛樂消費信息表的建立: create table Consumelist ( Gno char(20), Atno char(20), Amount float, Wtime datetime not null, primary key(Gno,Atno), foreign key (Gno)references guest(Gno), foreign key (Atno)references Atariff(Atno) ) ( 6)客房物品基本信息表的建立: create table RoGoInfo ( Goodsno char(20), Goodsname char(20)not null, Oprice float not null, Dmultiple float not null, primary key (Goodsno) ) ( 7)顧客賠償物品信息表的建立: create table GoAmInfo (Gno char(20), 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 29 Rno char(10), Goodsno char(20), Dnum int , Amendstime datetime not null, primary key(Gno,Rno,Goodsno), foreign key (Gno)references guest(Gno), foreign key(Rno)references Roominfo(Rno), foreign key(Goodsno)references RoGoInfo(Goodsno) ) 建立視圖 SQL 語句 ( 1)用于查詢預(yù)訂房信息的視圖定義如下: create view BookView(Gno,Gname,Rno,Rtype,Rfloor,Toward,IntoPrice,Rtime,Rltime,Days,Stime) as select ,Gname,Rtype,Rfloor,Toward,IntoPrice,Rtime,Rltime,Days,Stime from Roominfo,RoomState,guest where flag=39。139。 and = and = ( 2)用 于查詢已入住房的試圖如下: create view IntoView(Gno,Gname,Rno,Rtype,Rfloor,Toward,IntoPrice,Atime,Ltime,Days,Account) as select ,Gname,Rtype,Rfloor,Toward,IntoPrice,Atime,Ltime,Days,Account from Roominfo,RoomState,guest where flag=39。239。 and = and = ( 3)用于查詢空房的視圖定義如下: create view EmRoView(Rno,Rtype,Rprice,Rfloor,Toward) as select Rno,Rtype,Rprice,Rfloor,Toward from Roominfo where Rno not in (select Rno From RoomState) 2021 級信管專業(yè) 2 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 30 建立存儲過程 SQL 語句 的定義 create procedure lsqSearchDate @date datetime as select Atno,sum(Amount) from Consumelist where Wtime=@date group by Atno 的定義 create procedure lsqSearchEmpty @floor int as select Rno,Rtype,Rprice,Rfloor,Toward from EmRoView where Rfloor=@floor lsqSearchEmpty 2 的定義 create procedure lsqWatchGuest as select Gno,Gname,Gsex,Gid from guest 的定義 create procedure lsqSearchGuest @Gno char(20) as begin select Gno,Gname,Account,balance from guest where Gno=@Gno select ,Rtype,IntoPrice from RoomState,Roominfo where =@Gno and = select ,Atname,Amount, Amount*Atprice AmuMoney,Wt
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1