药品管理系统毕业设计,论文及部分代码在线讲解
一、药品管理系统研究背景与意义
二、、药品管理系统的主要内容
本系统主要分为两个大的模块:管理员模块和普通用户模块 管理员模块是本系统的核心模块,主要完成药品由采购入库、库存管理到药品出库的整个过程的药品管理和信息管理; 普通用户模块的作用在于为普通用户提供一个查询医院药品信息和了解医院现有药品状况的一个平台,从而帮助用户更快捷的寻找到自己所需要的药品并购买。本系统结构图如图1.所示。
三、药品管理系统的工作方案及进度安排
四、药品管理系统毕业设计数据库设计字典
超级管理员表创建语句如下:
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');
厂家表创建语句如下:
create table t_cj(
id int primary key auto_increment comment '主键',
cjName varchar(100) comment '类型名称',
lxdh varchar(100) comment '联系电话'
) comment '厂家';
出入库表创建语句如下:
create table t_crk(
id int primary key auto_increment comment '主键',
ypId int comment '药品',
crk varchar(100) comment '出库入库',
num int comment '数量'
) comment '出入库';
用户表创建语句如下:
create table t_customer(
id int primary key auto_increment comment '主键',
username varchar(100) comment '账号',
password varchar(100) comment '密码',
customerName varchar(100) comment '姓名',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone varchar(100) comment '电话'
) comment '用户';
供货商表创建语句如下:
create table t_ghs(
id int primary key auto_increment comment '主键',
ghsName varchar(100) comment '供货商名称',
lxdh varchar(100) comment '联系电话'
) comment '供货商';
科室表创建语句如下:
create table t_ks(
id int primary key auto_increment comment '主键',
ksName varchar(100) comment '供货商名称',
lxdh varchar(100) comment '联系电话'
) comment '科室';
普通管理员表创建语句如下:
create table t_ptadmin(
id int primary key auto_increment comment '主键',
username varchar(100) comment '账号',
password varchar(100) comment '密码',
ptadminName varchar(100) comment '姓名',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone varchar(100) comment '电话'
) comment '普通管理员';
分类表创建语句如下:
create table t_types(
id int primary key auto_increment comment '主键',
typesName varchar(100) comment '类型名称'
) comment '分类';
药品表创建语句如下:
create table t_yp(
id int primary key auto_increment comment '主键',
ypName varchar(100) comment '药品名称',
typesId int comment '分类',
cjId int comment '厂家',
ksId int comment '科室',
ghsId int comment '供货商',
gg varchar(100) comment '规格',
yl varchar(100) comment '用量',
pic varchar(100) comment '图片',
yxq datetime comment '有效期',
aqz int comment '安全值',
num int comment '数量'
) comment '药品';