-- 顾客信息表
create table customer_tbl(
id number primary key,
nextId number not null unique,
takeDate date not null,
type number not null,
flag number not null
)
comment on table customer_tbl is '顾客信息表';
comment on column customer_tbl.id is '唯一标示';
comment on column customer_tbl.nextId is '顾客排号';
comment on column customer_tbl.takeDate is '取票日期';
comment on column customer_tbl.type is '服务类型';
comment on column customer_tbl.flag is '处理标记';
-- 业务端信息表
create table work_tbl(
id number primary key,
processDate date not null,
workId number not null,
type number not null,
nextId number unique not null
)
comment on table work_tbl is '业务端信息表';
comment on column work_tbl.id is '唯一标示';
comment on column work_tbl.processDate is '处理日期';
comment on column work_tbl.workId is '服务台编号';
comment on column work_tbl.type is '服务类型';
comment on column work_tbl.nextId is '顾客排号';
-- 业务员信息表
create table workmen_tbl(
id number primary key,
name varchar2(20) not null,
password varchar2(20) not null
)
comment on table workmen_tbl is '业务员信息表';
comment on column workmen_tbl.id is '唯一标示';
comment on column workmen_tbl.name is '用户名';
comment on column workmen_tbl.password is '密码';
-- 初始数据
insert into workmen_tbl
values(1,'kallen','123');
insert into workmen_tbl
values(2,'scott','123');
-- 自动出号信息
create table srt_tbl(
nextId number(20) not null,
type number(7) not null unique
)
comment on table srt_tbl is '自动出号信息';
comment on column srt_tbl.nextId is '顾客排号';
comment on column srt_tbl.type is '服务类型';
-- 初始数据
--vip业务
insert into srt_tbl
values(1,1);
-- 普通业务
insert into srt_tbl
values(1,2);
-- 临时表
create table hl_tbl(
id number
)
-- 初始数据
insert into hl_tbl
values(0)
-- 创建w_seq序列
create sequence w_seq start with 1 increment by 1;
基于Java的银行排号系统的设计与实现.zip
需积分: 28 11 浏览量
2023-02-09
20:24:12
上传
评论 1
收藏 1.93MB ZIP 举报
苏书QAQ
- 粉丝: 139
- 资源: 1049
最新资源
- yolo目标检测项目实验
- downloadFile-1.hc
- Centos7.9环境下离线安装开源版Nginx(亲测版)
- C++课程设计:基于Qt的航班信息管理系统
- ADS7822UVerilog驱动,前面传的有点问题
- 基于python的高性能爬虫程序,使用了多线程+缓存+xpath实现的,这里以彼-岸图库为例,实现,仅用于学习交流
- 中分辨率成像光谱仪(MODIS)烧毁面积产品信息MODIS-C6-BA-User-Guide-1.2.pdf
- Screenshot_20240427_172613_com.huawei.browser.jpg
- 关于学习Python的相关资源网站链接及相关介绍.docx
- (HAL库)基于STM32F103C8T6的温控PID系统[Dht11、ESP8266、无线透传、L298N……]
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈