java毕业设计_基于JAVA的酒店信息管理系统

本文档详细介绍了基于JAVA的酒店信息管理系统的数据库设计,包括MySQL、Oracle和SQLServer的不同版本的创建语句,以及系统涉及的各种表如超级管理员、客户、订单、产品等的结构。此外,还提供了对应JavaBean的创建语句,如产品、收藏、购物车、用户等类的定义。
摘要由CSDN通过智能技术生成

基于JAVA的酒店信息管理系统

基于JAVA的酒店信息管理系统mysql数据库创建语句
基于JAVA的酒店信息管理系统oracle数据库创建语句
基于JAVA的酒店信息管理系统sqlserver数据库创建语句
基于JAVA的酒店信息管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计
基于JAVA的酒店信息管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计
高质量编程视频:shangyepingtai.xin

基于JAVA的酒店信息管理系统mysql数据库版本源码:

超级管理员表创建语句如下:
create table t_admin(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘超级管理员账号’,
password varchar(100) comment ‘超级管理员密码’
) comment ‘超级管理员’;
insert into t_admin(username,password) values(‘admin’,‘123456’);
SQLCopy
收货地址表创建语句如下:
create table t_address(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
province varchar(100) comment ‘省’,
city varchar(100) comment ‘市’,
area varchar(100) comment ‘区’,
phone varchar(100) comment ‘电话’,
lxr varchar(100) comment ‘联系人’,
xxdz varchar(100) comment ‘详细地址’
) comment ‘收货地址’;
SQLCopy
分类表创建语句如下:
create table t_bk(
id int primary key auto_increment comment ‘主键’,
bkName varchar(100) comment ‘分类名称’
) comment ‘分类’;
SQLCopy
标签表创建语句如下:
create table t_bq(
id int primary key auto_increment comment ‘主键’,
bqName varchar(100) comment ‘标签’
) comment ‘标签’;
SQLCopy
建议表创建语句如下:
create table t_contact(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
phone varchar(100) comment ‘联系方式’,
content varchar(100) comment ‘内容’,
insertDate datetime comment ‘日期’
) comment ‘建议’;
SQLCopy
客户表创建语句如下:
create table t_customer(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
customerName varchar(100) comment ‘姓名’,
sex varchar(100) comment ‘性别’,
address varchar(100) comment ‘地址’,
phone varchar(100) comment ‘手机’,
account int comment ‘账户’,
jf int comment ‘积分’,
headPic varchar(100) comment ‘头像’,
vip varchar(100) comment ‘’
) comment ‘客户’;
SQLCopy
积分兑换产品表创建语句如下:
create table t_jfdh(
id int primary key auto_increment comment ‘主键’,
jfName varchar(100) comment ‘积分产品名称’,
jfCost int comment ‘积分数量’,
jfPic varchar(100) comment ‘产品图片’
) comment ‘积分兑换产品’;
SQLCopy
库存表创建语句如下:
create table t_kc(
id int primary key auto_increment comment ‘主键’,
productId int comment ‘产品’,
kcNum int comment ‘库存数量’,
insertDate datetime comment ‘日期’
) comment ‘库存’;
SQLCopy
轮播图表创建语句如下:
create table t_lbt(
id int primary key auto_increment comment ‘主键’,
pic varchar(100) comment ‘图片’
) comment ‘轮播图’;
SQLCopy
信息交流表创建语句如下:
create table t_message(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
messageContent varchar(100) comment ‘内容’,
types int comment ‘’,
insertDate datetime comment ‘时间’
) comment ‘信息交流’;
SQLCopy
订单表创建语句如下:
create table t_order(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
productDetail varchar(100) comment ‘订单详细’,
allPrice varchar(100) comment ‘订单总价格’,
status varchar(100) comment ‘状态’,
orderNum varchar(100) comment ‘订单编号’,
pl varchar(100) comment ‘物流信息’,
insertDate datetime comment ‘日期’,
userId int comment ‘’,
orderDate varchar(100) comment ‘’,
address varchar(100) comment ‘地址’,
lxr varchar(100) comment ‘联系人’,
lxfs varchar(100) comment ‘联系方式’,
pj varchar(100) comment ‘评价’,
back varchar(100) comment ‘回复’,
beginDate varchar(100) comment ‘’,
endDate varchar(100) comment ‘’,
productId int comment ‘’
) comment ‘订单’;
SQLCopy
订单详情表创建语句如下:
create table t_orderlist(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
orderId int comment ‘订单’,
productId int comment ‘菜品’
) comment ‘订单详情’;
SQLCopy
评论表创建语句如下:
create table t_pinglun(
id int primary key auto_increment comment ‘主键’,
wdxxId int comment ‘评论信息’,
customerId int comment ‘评论人’,
content varchar(100) comment ‘评论内容’,
insertDate datetime comment ‘评论日期’
) comment ‘评论’;
SQLCopy
表创建语句如下:
create table t_pinglun_product(
id int primary key auto_increment comment ‘主键’,
productId int comment ‘评论信息’,
customerId int comment ‘评论人’,
content varchar(100) comment ‘评论内容’,
insertDate datetime comment ‘评论日期’
) comment ‘’;
SQLCopy
产品表创建语句如下:
create table t_product(
id int primary key auto_increment comment ‘主键’,
productName varchar(100) comment ‘产品名称’,
productPic1 varchar(100) comment ‘图片1’,
productPic2 varchar(100) comment ‘图片2’,
productPic3 varchar(100) comment ‘图片3’,
productPic4 varchar(100) comment ‘图片4’,
price int comment ‘价格’,
oldPrice int comment ‘原价’,
content varchar(100) comment ‘内容’,
nums int comment ‘数量’,
tjxj varchar(100) comment ‘推荐星级’,
status varchar(100) comment ‘状态’,
typesId int comment ‘分类’,
jf int comment ‘积分’,
userId int comment ‘商家’,
bqId int comment ‘标签’,
djl int comment ‘点击量’
) comment ‘产品’;
SQLCopy
产品点击表创建语句如下:
create table t_productclick(
id int primary key auto_increment comment ‘主键’,
productId int comment ‘产品’,
customerId int comment ‘用户’,
insertDate datetime comment ‘日期’
) comment ‘产品点击’;
SQLCopy
收藏表创建语句如下:
create table t_sc(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
productId int comment ‘产品’,
insertDate datetime comment ‘日期’
) comment ‘收藏’;
SQLCopy
购物车表创建语句如下:
create table t_shopcar(
id int primary key auto_increment comment ‘主键’,
productId int comment ‘产品’,
num int comment ‘数量’,
customerId int comment ‘’
) comment ‘购物车’;
SQLCopy
分类表创建语句如下:
create table t_types(
id int primary key auto_increment comment ‘主键’,
typesName varchar(100) comment ‘分类’
) comment ‘分类’;
SQLCopy
普通员工表创建语句如下:
create table t_user(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
name varchar(100) comment ‘姓名’,
gh varchar(100) comment ‘工号’,
mobile varchar(100) comment ‘手机’
) comment ‘普通员工’;
SQLCopy
我的消息表创建语句如下:
create table t_wdxx(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘我’,
title varchar(100) comment ‘标题’,
pic varchar(100) comment ‘图片’,
content varchar(100) comment ‘内容’,
zan int comment ‘赞’,
insertDate datetime comment ‘发布日期’,
nologin varchar(100) comment ‘游客是否可见’,
bkId int comment ‘’
) comment ‘我的消息’;
SQLCopy
消息表创建语句如下:
create table t_xiaoxi(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
title varchar(100) comment ‘标题’,
content varchar(100) comment ‘内容’,
insertDate datetime comment ‘日期’
) comment ‘消息’;
SQLCopy
资讯表创建语句如下:
create table t_zx(
id int primary key auto_increment comment ‘主键’,
title varchar(100) comment ‘标题’,
content varchar(100) comment ‘内容’,
pic varchar(100) comment ‘图片’
) comment ‘资讯’;
SQLCopy

基于JAVA的酒店信息管理系统oracle数据库版本源码:

超级管理员表创建语句如下:
create table t_admin(
id integer,
username varchar(100),
password varchar(100)
);
insert into t_admin(id,username,password) values(1,‘admin’,‘123456’);
–超级管理员字段加注释
comment on column t_admin.id is ‘主键’;
comment on column t_admin.username is ‘超级管理员账号’;
comment on column t_admin.password is ‘超级管理员密码’;
–超级管理员表加注释
comment on table t_admin is ‘超级管理员’;
SQLCopy
收货地址表创建语句如下:
create table t_address(
id integer,
customerId int,
province varchar(100),
city varchar(100),
area varchar(100),
phone varchar(100),
lxr varchar(100),
xxdz varchar(100)
);
–收货地址字段加注释
comment on column t_address.id is ‘主键’;
comment on column t_address.customerId is ‘用户’;
comment on column t_address.province is ‘省’;
comment on column t_address.city is ‘市’;
comment on column t_address.area is ‘区’;
comment on column t_address.phone is ‘电话’;
comment on column t_address.lxr is ‘联系人’;
comment on column t_address.xxdz is ‘详细地址’;
–收货地址表加注释
comment on table t_address is ‘收货地址’;
SQLCopy
分类表创建语句如下:
create table t_bk(
id integer,
bkName varchar(100)
);
–分类字段加注释
comment on column t_bk.id is ‘主键’;
comment on column t_bk.bkName is ‘分类名称’;
–分类表加注释
comment on table t_bk is ‘分类’;
SQLCopy
标签表创建语句如下:
create table t_bq(
id integer,
bqName varchar(100)
);
–标签字段加注释
comment on column t_bq.id is ‘主键’;
comment on column t_bq.bqName is ‘标签’;
–标签表加注释
comment on table t_bq is ‘标签’;
SQLCopy
建议表创建语句如下:
create table t_contact(
id integer,
customerId int,
phone varchar(100),
content varchar(100),
insertDate datetime
);
–建议字段加注释
comment on column t_contact.id is ‘主键’;
comment on column t_contact.customerId is ‘用户’;
comment on column t_contact.phone is ‘联系方式’;
comment on column t_contact.content is ‘内容’;
comment on column t_contact.insertDate is ‘日期’;
–建议表加注释
comment on table t_contact is ‘建议’;
SQLCopy
客户表创建语句如下:
create table t_customer(
id integer,
username varchar(100),
password varchar(100),
customerName varchar(100),
sex varchar(100),
address varchar(100),
phone varchar(100),
account int,
jf int,
headPic varchar(100),
vip varchar(100)
);
–客户字段加注释
comment on column t_customer.id is ‘主键’;
comment on column t_customer.username is ‘账号’;
comment on column t_customer.password is ‘密码’;
comment on column t_customer.customerName is ‘姓名’;
comment on column t_customer.sex is ‘性别’;
comment on column t_customer.address is ‘地址’;
comment on column t_customer.phone is ‘手机’;
comment on column t_customer.account is ‘账户’;
comment on column t_customer.jf is ‘积分’;
comment on column t_customer.headPic is ‘头像’;
comment on column t_customer.vip is ‘’;
–客户表加注释
comment on table t_customer is ‘客户’;
SQLCopy
积分兑换产品表创建语句如下:
create table t_jfdh(
id integer,
jfName varchar(100),
jfCost int,
jfPic varchar(100)
);
–积分兑换产品字段加注释
comment on column t_jfdh.id is ‘主键’;
comment on column t_jfdh.jfName is ‘积分产品名称’;
comment on column t_jfdh.jfCost is ‘积分数量’;
comment on column t_jfdh.jfPic is ‘产品图片’;
–积分兑换产品表加注释
comment on table t_jfdh is ‘积分兑换产品’;
SQLCopy
库存表创建语句如下:
create table t_kc(
id integer,
productId int,
kcNum int,
insertDate datetime
);
–库存字段加注释
comment on column t_kc.id is ‘主键’;
comment on column t_kc.productId is ‘产品’;
comment on column t_kc.kcNum is ‘库存数量’;
comment on column t_kc.insertDate is ‘日期’;
–库存表加注释
comment on table t_kc is ‘库存’;
SQLCopy
轮播图表创建语句如下:
create table t_lbt(
id integer,
pic varchar(100)
);
–轮播图字段加注释
comment on column t_lbt.id is ‘主键’;
comment on column t_lbt.pic is ‘图片’;
–轮播图表加注释
comment on table t_lbt is ‘轮播图’;
SQLCopy
信息交流表创建语句如下:
create table t_message(
id integer,
customerId int,
messageContent varchar(100),
types int,
insertDate datetime
);
–信息交流字段加注释
comment on column t_message.id is ‘主键’;
comment on column t_message.customerId is ‘用户’;
comment on column t_message.messageContent is ‘内容’;
comment on column t_message.types is ‘’;
comment on column t_message.insertDate is ‘时间’;
–信息交流表加注释
comment on table t_message is ‘信息交流’;
SQLCopy
订单表创建语句如下:
create table t_order(
id integer,
customerId int,
productDetail varchar(100),
allPrice varchar(100),
status varchar(100),
orderNum varchar(100),
pl varchar(100),
insertDate datetime,
userId int,
orderDate varchar(100),
address varchar(100),
lxr varchar(100),
lxfs varchar(100),
pj varchar(100),
back varchar(100),
beginDate varchar(100),
endDate varchar(100),
productId int
);
–订单字段加注释
comment on column t_order.id is ‘主键’;
comment on column t_order.customerId is ‘用户’;
comment on column t_order.productDetail is ‘订单详细’;
comment on column t_order.allPrice is ‘订单总价格’;
comment on column t_order.status is ‘状态’;
comment on column t_order.orderNum is ‘订单编号’;
comment on column t_order.pl is ‘物流信息’;
comment on column t_order.insertDate is ‘日期’;
comment on column t_order.userId is ‘’;
comment on column t_order.orderDate is ‘’;
comment on column t_order.address is ‘地址’;
comment on column t_order.lxr is ‘联系人’;
comment on column t_order.lxfs is ‘联系方式’;
comment on column t_order.pj is ‘评价’;
comment on column t_order.back is ‘回复’;
comment on column t_order.beginDate is ‘’;
comment on column t_order.endDate is ‘’;
comment on column t_order.productId is ‘’;
–订单表加注释
comment on table t_order is ‘订单’;
SQLCopy
订单详情表创建语句如下:
create table t_orderlist(
id integer,
customerId int,
orderId int,
productId int
);
–订单详情字段加注释
comment on column t_orderlist.id is ‘主键’;
comment on column t_orderlist.customerId is ‘用户’;
comment on column t_orderlist.orderId is ‘订单’;
comment on column t_orderlist.productId is ‘菜品’;
–订单详情表加注释
comment on table t_orderlist is ‘订单详情’;
SQLCopy
评论表创建语句如下:
create table t_pinglun(
id integer,
wdxxId int,
customerId int,
content varchar(100),
insertDate datetime
);
–评论字段加注释
comment on column t_pinglun.id is ‘主键’;
comment on column t_pinglun.wdxxId is ‘评论信息’;
comment on column t_pinglun.customerId is ‘评论人’;
comment on column t_pinglun.content is ‘评论内容’;
comment on column t_pinglun.insertDate is ‘评论日期’;
–评论表加注释
comment on table t_pinglun is ‘评论’;
SQLCopy
表创建语句如下:
create table t_pinglun_product(
id integer,
productId int,
customerId int,
content varchar(100),
insertDate datetime
);
–字段加注释
comment on column t_pinglun_product.id is ‘主键’;
comment on column t_pinglun_product.productId is ‘评论信息’;
comment on column t_pinglun_product.customerId is ‘评论人’;
comment on column t_pinglun_product.content is ‘评论内容’;
comment on column t_pinglun_product.insertDate is ‘评论日期’;
–表加注释
comment on table t_pinglun_product is ‘’;
SQLCopy
产品表创建语句如下:
create table t_product(
id integer,
productName varchar(100),
productPic1 varchar(100),
productPic2 varchar(100),
productPic3 varchar(100),
productPic4 varchar(100),
price int,
oldPrice int,
content varchar(100),
nums int,
tjxj varchar(100),
status varchar(100),
typesId int,
jf int,
userId int,
bqId int,
djl int
);
–产品字段加注释
comment on column t_product.id is ‘主键’;
comment on column t_product.productName is ‘产品名称’;
comment on column t_product.productPic1 is ‘图片1’;
comment on column t_product.productPic2 is ‘图片2’;
comment on column t_product.productPic3 is ‘图片3’;
comment on column t_product.productPic4 is ‘图片4’;
comment on column t_product.price is ‘价格’;
comment on column t_product.oldPrice is ‘原价’;
comment on column t_product.content is ‘内容’;
comment on column t_product.nums is ‘数量’;
comment on column t_product.tjxj is ‘推荐星级’;
comment on column t_product.status is ‘状态’;
comment on column t_product.typesId is ‘分类’;
comment on column t_product.jf is ‘积分’;
comment on column t_product.userId is ‘商家’;
comment on column t_product.bqId is ‘标签’;
comment on column t_product.djl is ‘点击量’;
–产品表加注释
comment on table t_product is ‘产品’;
SQLCopy
产品点击表创建语句如下:
create table t_productclick(
id integer,
productId int,
customerId int,
insertDate datetime
);
–产品点击字段加注释
comment on column t_productclick.id is ‘主键’;
comment on column t_productclick.productId is ‘产品’;
comment on column t_productclick.customerId is ‘用户’;
comment on column t_productclick.insertDate is ‘日期’;
–产品点击表加注释
comment on table t_productclick is ‘产品点击’;
SQLCopy
收藏表创建语句如下:
create table

酒店管理系统使用说明书 主要功能 本系统中包含如下6大功能模块: q 前台服务:该模块主要包括开台点菜、维护菜品、签单、结账等功能,其中维护菜品功能包括添加和取消菜品,能够取消菜品的前提条件是尚未签单,即处于开单状态,结账时则要求所有商品都要签单,否则不允许结账。 q 后台管理:该模块主要包括台号管理、菜系管理和菜品管理功能,其中菜系用来对菜品进行分类。 q 销售统计:该模块用来分段统计营业额,可以按日、月和年进行统计,其中日统计是按消费单和销售的商品统计销售额,月统计是按日期和每日的销售额统计销售额,年统计是按日期和月份统计销售额。 q 系统安全:该模块主要包括交接班、锁定系统和修改密码功能,其中交接班功能在操作员换岗时使用,锁定系统在操作员临时离开时使用。 q 人员管理:该模块主要包括档案管理、管理员管理和操作权限管理功能,其中管理员管理功能用来管理系统的操作员,权限管理功能用来管理系统操作员具有的操作权限。 q 初始化系统:该功能用来对系统进行初始化,初始化后系统数据将全部被删除。 操作注意事项 用户在使用《酒店管理系统》之前,应注意以下事项: (1)管理员用户名和密码为:mr、mrsoft。 (2)当鼠标经过主界面右下角时,会弹出菜单,在这里可以对本系统的信息进行管理。 业务流程 要想运行本系统,请按照以下流程操作: (1)在“人员管理”中添加操作员及其档案信息。 (2)在“系统维护”中添加台号、菜系及菜品信息。 (3)在“台号”下拉列中选择台号、在商品文本框中输入商品助记码或编号及商品数量,然后单击“开台”按钮。可添加多个商品。 (4)顾完单完菜后,单击“签单”按钮,示确认该订单,此时可以执行结账操作,否则不可进行结账。 如果操作临时离开,可单击“锁定系统”按钮,输入登录密码可解锁。 (5)在“销售统计”中可对日销售、月销售及年销售额进行统计。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值