基于java的质量管理信息系统

基于java的质量管理信息系统登录注册界面

基于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');

半成品表创建语句如下:


create table t_bcp(
	id int primary key auto_increment comment '主键',
	bcpName varchar(100) comment '半成品编号',
	ycls varchar(100) comment '原材料',
	num int comment '数量',
	scDate varchar(100) comment '产品日期',
	czr varchar(100) comment '操作人',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '图片',
	jcbz varchar(100) comment '检测标准',
	jcjg varchar(100) comment '检测结果',
	jcDate datetime comment '检测日期',
	status varchar(100) comment '状态'
) comment '半成品';

采购员表创建语句如下:


create table t_cgy(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	cgyName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	phone varchar(100) comment '电话'
) comment '采购员';

成品表创建语句如下:


create table t_cp(
	id int primary key auto_increment comment '主键',
	cpName varchar(100) comment '成品编号',
	bcps varchar(100) comment '半成品',
	num int comment '数量',
	scDate varchar(100) comment '生产日期',
	czr varchar(100) comment '操作人',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '图片',
	jcbz varchar(100) comment '检测标准',
	jcjg varchar(100) comment '检测结果',
	jcDate datetime comment '检测日期',
	status varchar(100) comment '状态',
	zjr varchar(100) comment '',
	remark varchar(100) comment '',
	sfhe varchar(100) comment ''
) comment '成品';

表创建语句如下:


create table t_dates(
	id int primary key auto_increment comment '主键',
	dates varchar(100) comment ''
) comment '';

进货单表创建语句如下:


create table t_jhd(
	id int primary key auto_increment comment '主键',
	jhdName varchar(100) comment '编号',
	yclId int comment '原材料',
	num int comment '数量',
	jhDate varchar(100) comment '进货日期',
	czr varchar(100) comment '操作人',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '图片',
	jcbz varchar(100) comment '检测标准',
	jcjg varchar(100) comment '检测结果',
	jcDate datetime comment '检测日期',
	status varchar(100) comment '状态',
	sfhe varchar(100) comment '',
	remark varchar(100) comment '',
	zjr varchar(100) comment ''
) comment '进货单';

原材料表创建语句如下:


create table t_ycl(
	id int primary key auto_increment comment '主键',
	bh varchar(100) comment '编号',
	title varchar(100) comment '名称',
	pic varchar(100) comment '图片',
	remark varchar(100) comment '备注'
) comment '原材料';

质检员表创建语句如下:


create table t_zjy(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '',
	password varchar(100) comment '',
	zjyName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	phone varchar(100) comment '电话'
) comment '质检员';

基于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 '超级管理员';

半成品表创建语句如下:


create table t_bcp(
	id integer,
	bcpName varchar(100),
	ycls varchar(100),
	num int,
	scDate varchar(100),
	czr varchar(100),
	phone varchar(100),
	pic varchar(100),
	jcbz varchar(100),
	jcjg varchar(100),
	jcDate datetime,
	status varchar(100)
);
--半成品字段加注释
comment on column t_bcp.id is '主键';
comment on column t_bcp.bcpName is '半成品编号';
comment on column t_bcp.ycls is '原材料';
comment on column t_bcp.num is '数量';
comment on column t_bcp.scDate is '产品日期';
comment on column t_bcp.czr is '操作人';
comment on column t_bcp.phone is '电话';
comment on column t_bcp.pic is '图片';
comment on column t_bcp.jcbz is '检测标准';
comment on column t_bcp.jcjg is '检测结果';
comment on column t_bcp.jcDate is '检测日期';
comment on column t_bcp.status is '状态';
--半成品表加注释
comment on table t_bcp is '半成品';

采购员表创建语句如下:


create table t_cgy(
	id integer,
	username varchar(100),
	password varchar(100),
	cgyName varchar(100),
	sex varchar(100),
	age varchar(100),
	phone varchar(100)
);
--采购员字段加注释
comment on column t_cgy.id is '主键';
comment on column t_cgy.username is '账号';
comment on column t_cgy.password is '密码';
comment on column t_cgy.cgyName is '姓名';
comment on column t_cgy.sex is '性别';
comment on column t_cgy.age is '年龄';
comment on column t_cgy.phone is '电话';
--采购员表加注释
comment on table t_cgy is '采购员';

成品表创建语句如下:


create table t_cp(
	id integer,
	cpName varchar(100),
	bcps varchar(100),
	num int,
	scDate varchar(100),
	czr varchar(100),
	phone varchar(100),
	pic varchar(100),
	jcbz varchar(100),
	jcjg varchar(100),
	jcDate datetime,
	status varchar(100),
	zjr varchar(100),
	remark varchar(100),
	sfhe varchar(100)
);
--成品字段加注释
comment on column t_cp.id is '主键';
comment on column t_cp.cpName is '成品编号';
comment on column t_cp.bcps is '半成品';
comment on column t_cp.num is '数量';
comment on column t_cp.scDate is '生产日期';
comment on column t_cp.czr is '操作人';
comment on column t_cp.phone is '电话';
comment on column t_cp.pic is '图片';
comment on column t_cp.jcbz is '检测标准';
comment on column t_cp.jcjg is '检测结果';
comment on column t_cp.jcDate is '检测日期';
comment on column t_cp.status is '状态';
comment on column t_cp.zjr is '';
comment on column t_cp.remark is '';
comment on column t_cp.sfhe is '';
--成品表加注释
comment on table t_cp is '成品';

表创建语句如下:


create table t_dates(
	id integer,
	dates varchar(100)
);
--字段加注释
comment on column t_dates.id is '主键';
comment on column t_dates.dates is '';
--表加注释
comment on table t_dates is '';

进货单表创建语句如下:


create table t_jhd(
	id integer,
	jhdName varchar(100),
	yclId int,
	num int,
	jhDate varchar(100),
	czr varchar(100),
	phone varchar(100),
	pic varchar(100),
	jcbz varchar(100),
	jcjg varchar(100),
	jcDate datetime,
	status varchar(100),
	sfhe varchar(100),
	remark varchar(100),
	zjr varchar(100)
);
--进货单字段加注释
comment on column t_jhd.id is '主键';
comment on column t_jhd.jhdName is '编号';
comment on column t_jhd.yclId is '原材料';
comment on column t_jhd.num is '数量';
comment on column t_jhd.jhDate is '进货日期';
comment on column t_jhd.czr is '操作人';
comment on column t_jhd.phone is '电话';
comment on column t_jhd.pic is '图片';
comment on column t_jhd.jcbz is '检测标准';
comment on column t_jhd.jcjg is '检测结果';
comment on column t_jhd.jcDate is '检测日期';
comment on column t_jhd.status is '状态';
comment on column t_jhd.sfhe is '';
comment on column t_jhd.remark is '';
comment on column t_jhd.zjr is '';
--进货单表加注释
comment on table t_jhd is '进货单';

原材料表创建语句如下:


create table t_ycl(
	id integer,
	bh varchar(100),
	title varchar(100),
	pic varchar(100),
	remark varchar(100)
);
--原材料字段加注释
comment on column t_ycl.id is '主键';
comment on column t_ycl.bh is '编号';
comment on column t_ycl.title is '名称';
comment on column t_ycl.pic is '图片';
comment on column t_ycl.remark is '备注';
--原材料表加注释
comment on table t_ycl is '原材料';

质检员表创建语句如下:


create table t_zjy(
	id integer,
	username varchar(100),
	password varchar(100),
	zjyName varchar(100),
	sex varchar(100),
	age varchar(100),
	phone varchar(100)
);
--质检员字段加注释
comment on column t_zjy.id is '主键';
comment on column t_zjy.username is '';
comment on column t_zjy.password is '';
comment on column t_zjy.zjyName is '姓名';
comment on column t_zjy.sex is '性别';
comment on column t_zjy.age is '年龄';
comment on column t_zjy.phone is '电话';
--质检员表加注释
comment on table t_zjy is '质检员';

oracle特有,对应序列如下:


create sequence s_t_bcp;
create sequence s_t_cgy;
create sequence s_t_cp;
create sequence s_t_dates;
create sequence s_t_jhd;
create sequence s_t_ycl;
create sequence s_t_zjy;

基于java的质量管理信息系统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_bcp(
	id int identity(1,1) primary key not null,--主键
	bcpName varchar(100),--半成品编号
	ycls varchar(100),--原材料
	num int,--数量
	scDate varchar(100),--产品日期
	czr varchar(100),--操作人
	phone varchar(100),--电话
	pic varchar(100),--图片
	jcbz varchar(100),--检测标准
	jcjg varchar(100),--检测结果
	jcDate datetime,--检测日期
	status varchar(100)--状态
);

采购员表创建语句如下:


--采购员表注释
create table t_cgy(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	cgyName varchar(100),--姓名
	sex varchar(100),--性别
	age varchar(100),--年龄
	phone varchar(100)--电话
);

成品表创建语句如下:


--成品表注释
create table t_cp(
	id int identity(1,1) primary key not null,--主键
	cpName varchar(100),--成品编号
	bcps varchar(100),--半成品
	num int,--数量
	scDate varchar(100),--生产日期
	czr varchar(100),--操作人
	phone varchar(100),--电话
	pic varchar(100),--图片
	jcbz varchar(100),--检测标准
	jcjg varchar(100),--检测结果
	jcDate datetime,--检测日期
	status varchar(100),--状态
	zjr varchar(100),--
	remark varchar(100),--
	sfhe varchar(100)--
);

表创建语句如下:


--表注释
create table t_dates(
	id int identity(1,1) primary key not null,--主键
	dates varchar(100)--
);

进货单表创建语句如下:


--进货单表注释
create table t_jhd(
	id int identity(1,1) primary key not null,--主键
	jhdName varchar(100),--编号
	yclId int,--原材料
	num int,--数量
	jhDate varchar(100),--进货日期
	czr varchar(100),--操作人
	phone varchar(100),--电话
	pic varchar(100),--图片
	jcbz varchar(100),--检测标准
	jcjg varchar(100),--检测结果
	jcDate datetime,--检测日期
	status varchar(100),--状态
	sfhe varchar(100),--
	remark varchar(100),--
	zjr varchar(100)--
);

原材料表创建语句如下:


--原材料表注释
create table t_ycl(
	id int identity(1,1) primary key not null,--主键
	bh varchar(100),--编号
	title varchar(100),--名称
	pic varchar(100),--图片
	remark varchar(100)--备注
);

质检员表创建语句如下:


--质检员表注释
create table t_zjy(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--
	password varchar(100),--
	zjyName varchar(100),--姓名
	sex varchar(100),--性别
	age varchar(100),--年龄
	phone varchar(100)--电话
);

基于java的质量管理信息系统登录后主页

基于java的质量管理信息系统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_bcp")
public class Bcp {
//主键
@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 bcpName;
//原材料
private String ycls;
//数量
private Integer num;
//产品日期
private String scDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
public String getBcpName() {return bcpName;}
public void setBcpName(String bcpName) {this.bcpName = bcpName;}
public String getYcls() {return ycls;}
public void setYcls(String ycls) {this.ycls = ycls;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getScDate() {return scDate;}
public void setScDate(String scDate) {this.scDate = scDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

采购员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_cgy")
public class Cgy {
//主键
@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 username;
//密码
private String password;
//姓名
private String cgyName;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCgyName() {return cgyName;}
public void setCgyName(String cgyName) {this.cgyName = cgyName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

成品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_cp")
public class Cp {
//主键
@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 cpName;
//半成品
private String bcps;
//数量
private Integer num;
//生产日期
private String scDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
//
private String zjr;
//
private String remark;
//
private String sfhe;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public String getBcps() {return bcps;}
public void setBcps(String bcps) {this.bcps = bcps;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getScDate() {return scDate;}
public void setScDate(String scDate) {this.scDate = scDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getZjr() {return zjr;}
public void setZjr(String zjr) {this.zjr = zjr;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getSfhe() {return sfhe;}
public void setSfhe(String sfhe) {this.sfhe = sfhe;}
}

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_dates")
public class Dates {
//主键
@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 dates;
public String getDates() {return dates;}
public void setDates(String dates) {this.dates = dates;}
}

进货单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_jhd")
public class Jhd {
//主键
@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 jhdName;
//原材料
private Integer yclId;
//数量
private Integer num;
//进货日期
private String jhDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
//
private String sfhe;
//
private String remark;
//
private String zjr;
public String getJhdName() {return jhdName;}
public void setJhdName(String jhdName) {this.jhdName = jhdName;}
public Integer getYclId() {return yclId;}
public void setYclId(Integer yclId) {this.yclId = yclId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getJhDate() {return jhDate;}
public void setJhDate(String jhDate) {this.jhDate = jhDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getSfhe() {return sfhe;}
public void setSfhe(String sfhe) {this.sfhe = sfhe;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getZjr() {return zjr;}
public void setZjr(String zjr) {this.zjr = zjr;}
}

原材料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_ycl")
public class Ycl {
//主键
@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 bh;
//名称
private String title;
//图片
private String pic;
//备注
private String remark;
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_zjy")
public class Zjy {
//主键
@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 username;
//
private String password;
//姓名
private String zjyName;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getZjyName() {return zjyName;}
public void setZjyName(String zjyName) {this.zjyName = zjyName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

基于java的质量管理信息系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

半成品javaBean创建语句如下:


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

//半成品
public class Bcp  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//半成品编号
private String bcpName;
//原材料
private String ycls;
//数量
private Integer num;
//产品日期
private String scDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
public String getBcpName() {return bcpName;}
public void setBcpName(String bcpName) {this.bcpName = bcpName;}
public String getYcls() {return ycls;}
public void setYcls(String ycls) {this.ycls = ycls;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getScDate() {return scDate;}
public void setScDate(String scDate) {this.scDate = scDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

采购员javaBean创建语句如下:


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

//采购员
public class Cgy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String cgyName;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCgyName() {return cgyName;}
public void setCgyName(String cgyName) {this.cgyName = cgyName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

成品javaBean创建语句如下:


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

//成品
public class Cp  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//成品编号
private String cpName;
//半成品
private String bcps;
//数量
private Integer num;
//生产日期
private String scDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
//
private String zjr;
//
private String remark;
//
private String sfhe;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public String getBcps() {return bcps;}
public void setBcps(String bcps) {this.bcps = bcps;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getScDate() {return scDate;}
public void setScDate(String scDate) {this.scDate = scDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getZjr() {return zjr;}
public void setZjr(String zjr) {this.zjr = zjr;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getSfhe() {return sfhe;}
public void setSfhe(String sfhe) {this.sfhe = sfhe;}
}

javaBean创建语句如下:


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

//
public class Dates  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//
private String dates;
public String getDates() {return dates;}
public void setDates(String dates) {this.dates = dates;}
}

进货单javaBean创建语句如下:


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

//进货单
public class Jhd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//编号
private String jhdName;
//原材料
private Integer yclId;
//数量
private Integer num;
//进货日期
private String jhDate;
//操作人
private String czr;
//电话
private String phone;
//图片
private String pic;
//检测标准
private String jcbz;
//检测结果
private String jcjg;
//检测日期
private Date jcDate;
//状态
private String status;
//
private String sfhe;
//
private String remark;
//
private String zjr;
public String getJhdName() {return jhdName;}
public void setJhdName(String jhdName) {this.jhdName = jhdName;}
public Integer getYclId() {return yclId;}
public void setYclId(Integer yclId) {this.yclId = yclId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getJhDate() {return jhDate;}
public void setJhDate(String jhDate) {this.jhDate = jhDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJcbz() {return jcbz;}
public void setJcbz(String jcbz) {this.jcbz = jcbz;}
public String getJcjg() {return jcjg;}
public void setJcjg(String jcjg) {this.jcjg = jcjg;}
public Date getJcDate() {return jcDate;}
public void setJcDate(Date jcDate) {this.jcDate = jcDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getSfhe() {return sfhe;}
public void setSfhe(String sfhe) {this.sfhe = sfhe;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getZjr() {return zjr;}
public void setZjr(String zjr) {this.zjr = zjr;}
}

原材料javaBean创建语句如下:


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

//原材料
public class Ycl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//编号
private String bh;
//名称
private String title;
//图片
private String pic;
//备注
private String remark;
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Zjy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//
private String username;
//
private String password;
//姓名
private String zjyName;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getZjyName() {return zjyName;}
public void setZjyName(String zjyName) {this.zjyName = zjyName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

源代码下载点这里

评论