药品管理系统(yaopin)_mysql_oracle代码分享

药品管理系统登录注册界面

药品管理系统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');

药厂供应商供货表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	gysName varchar(100) comment '供应商名称',
	lxr varchar(100) comment '联系人',
	lxdh varchar(100) comment '联系电话',
	productId int comment '药品',
	showDate datetime comment '供货日期',
	nums int comment '数量',
	remark text comment '备注'
) comment '药厂供应商供货';

药品库存表创建语句如下:


create table t_kucun(
	id int primary key auto_increment comment '主键',
	productId int comment '药品',
	nums int comment '当前库存量'
) comment '药品库存';

药品使用表创建语句如下:


create table t_ypsy(
	id int primary key auto_increment comment '主键',
	productId int comment '药品',
	showDate datetime comment '使用日期',
	nums int comment '数量',
	remark text comment '备注',
	yt varchar(100) comment ''
) comment '药品使用';

药品管理系统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 '超级管理员';

药厂供应商供货表创建语句如下:


create table t_gys(
	id integer,
	gysName varchar(100),
	lxr varchar(100),
	lxdh varchar(100),
	productId int,
	showDate datetime,
	nums int,
	remark text
);
--药厂供应商供货字段加注释
comment on column t_gys.id is '主键';
comment on column t_gys.gysName is '供应商名称';
comment on column t_gys.lxr is '联系人';
comment on column t_gys.lxdh is '联系电话';
comment on column t_gys.productId is '药品';
comment on column t_gys.showDate is '供货日期';
comment on column t_gys.nums is '数量';
comment on column t_gys.remark is '备注';
--药厂供应商供货表加注释
comment on table t_gys is '药厂供应商供货';

药品库存表创建语句如下:


create table t_kucun(
	id integer,
	productId int,
	nums int
);
--药品库存字段加注释
comment on column t_kucun.id is '主键';
comment on column t_kucun.productId is '药品';
comment on column t_kucun.nums is '当前库存量';
--药品库存表加注释
comment on table t_kucun is '药品库存';

药品使用表创建语句如下:


create table t_ypsy(
	id integer,
	productId int,
	showDate datetime,
	nums int,
	remark text,
	yt varchar(100)
);
--药品使用字段加注释
comment on column t_ypsy.id is '主键';
comment on column t_ypsy.productId is '药品';
comment on column t_ypsy.showDate is '使用日期';
comment on column t_ypsy.nums is '数量';
comment on column t_ypsy.remark is '备注';
comment on column t_ypsy.yt is '';
--药品使用表加注释
comment on table t_ypsy is '药品使用';

oracle特有,对应序列如下:


create sequence s_t_gys;
create sequence s_t_kucun;
create sequence s_t_ypsy;

药品管理系统sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

药厂供应商供货表创建语句如下:


--药厂供应商供货表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	gysName varchar(100),--供应商名称
	lxr varchar(100),--联系人
	lxdh varchar(100),--联系电话
	productId int,--药品
	showDate datetime,--供货日期
	nums int,--数量
	remark text--备注
);

药品库存表创建语句如下:


--药品库存表注释
create table t_kucun(
	id int identity(1,1) primary key not null,--主键
	productId int,--药品
	nums int--当前库存量
);

药品使用表创建语句如下:


--药品使用表注释
create table t_ypsy(
	id int identity(1,1) primary key not null,--主键
	productId int,--药品
	showDate datetime,--使用日期
	nums int,--数量
	remark text,--备注
	yt varchar(100)--
);

药品管理系统登录后主页

药品管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

药厂供应商供货javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//药厂供应商供货
@Table(name = "t_gys")
public class Gys {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商名称
private String gysName;
//联系人
private String lxr;
//联系电话
private String lxdh;
//药品
private Long productId;
//供货日期
private Date showDate;
//数量
private Integer nums;
//备注
private String remark;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

药品库存javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//药品库存
@Table(name = "t_kucun")
public class Kucun {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品
private Long productId;
//当前库存量
private Integer nums;
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
}

药品使用javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//药品使用
@Table(name = "t_ypsy")
public class Ypsy {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品
private Long productId;
//使用日期
private Date showDate;
//数量
private Integer nums;
//备注
private String remark;
//
private String yt;
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getYt() {return yt;}
public void setYt(String yt) {this.yt = yt;}
}

药品管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

药厂供应商供货javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//药厂供应商供货
public class Gys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商名称
private String gysName;
//联系人
private String lxr;
//联系电话
private String lxdh;
//药品
private Long productId;
//供货日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
//数量
private Integer nums;
//备注
private String remark;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

药品库存javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//药品库存
public class Kucun  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品
private Long productId;
//当前库存量
private Integer nums;
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
}

药品使用javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//药品使用
public class Ypsy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品
private Long productId;
//使用日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
//数量
private Integer nums;
//备注
private String remark;
//
private String yt;
public Long getProductId() {return productId;}
public void setProductId(Long productId) {this.productId = productId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getYt() {return yt;}
public void setYt(String yt) {this.yt = yt;}
}

相关毕业设计源码

基于NB-IOT的跑步鸡溯源系统

基于NB-IOT的跑步鸡溯源系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于web的乡村旅游系统(xfa29)_mysql_oracle代码分享

基于web的乡村旅游系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于javaweb的篮球教学系统的设计与实现

基于javaweb的篮球教学系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

计算机设备管理与共享平台

计算机设备管理与共享平台,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

论文投稿与评审系统

论文投稿与评审系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于Web的猎头公司管理系统,java项目设计

基于Web的猎头公司管理系统(lietougongsi),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

面向智慧校园社区的班级管理系统设计与实现

面向智慧校园社区的班级管理系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

校车管理系统的设计与实现

校车管理系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于WEB的教职工健康档案管理系统,java设计与开发

基于WEB的教职工健康档案管理系统(jiaozhigong),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于SSM框架的在线视频播放系统设计与实现

基于SSM框架的在线视频播放系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于安卓的体育赛事开发系统

基于安卓的体育赛事开发系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

高校食堂运营管理系统(canteen_manager_system),java项目设计

高校食堂运营管理系统(canteen_manager_system),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

评论