表设计
受检人员表
CREATE TABLE CheckedUser (
ch_id varchar(20),
ch_account varchar(20),
ch_password varchar(20),
ch_check_status integer,
ch_health_status integer,
ch_name varchar(255),
ch_identity_type integer ,
ch_identity varchar(50),
ch_face varchar(255),
ch_QRcode varchar(255) ,
ch_entry_time datetime,
PRIMARY KEY (ch_id)
)
高级人员表
CREATE TABLE StaffUser (
st_id varchar(20),
st_account varchar(20),
st_password varchar(20),
st_post varchar(10),
st_status integer,
st_name varchar(255),
st_identity_type integer ,
st_identity varchar(50),
st_phone integer,
st_address varchar(255),
PRIMARY KEY (st_id)
)
实验室表
CREATE TABLE Laboratory (
lab_id varchar(20),
lab_name varchar(255),
lab_address varchar(255),
PRIMARY KEY (lab_id)
)
核酸检测点表
CREATE TABLE PCRPoint (
po_id varchar(20),
po_name varchar(255),
po_address varchar(255),
po_status integer,
PRIMARY KEY (po_id)
)
核酸安排表
CREATE TABLE TaskArrangement (
te_id varchar(20),
te_time varchar(255),
te_address varchar(255),
te_tube_numbser integer,
te_medical_id varchar(20),
te_manager_id varchar(20),
te_point_id varchar(20),
te_delivery_id varchar(20),
te_laboratory_id varchar(20),
PRIMARY KEY (te_id)
)
采样信息表
标签:ch,20,检测,数据库,st,核酸,varchar,id,255
From: https://www.cnblogs.com/kingwz/p/16990169.html