更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于JAVA的服装企业的生产作业计划需求分析,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_cj(
	id int primary key auto_increment comment '主键',
	cjName varchar(100) comment '车间编号',
	cjrs int comment '车间人数',
	cjbz varchar(100) comment '车间备注'
) comment '车间';

材料表创建语句如下:


create table t_cl(
	id int primary key auto_increment comment '主键',
	clName varchar(100) comment '材料名称',
	clsl int comment '材料库存数量',
	clbz varchar(100) comment '材料备注'
) comment '材料';

产品表创建语句如下:


create table t_cp(
	id int primary key auto_increment comment '主键',
	cpName varchar(100) comment '产品名称',
	cpsl int comment '产品库存数量',
	cpbz varchar(100) comment '产品备注'
) comment '产品';

计划表创建语句如下:


create table t_jh(
	id int primary key auto_increment comment '主键',
	cpId int comment '产品',
	num int comment '数量',
	jhrz varchar(100) comment '交货日期',
	status varchar(100) comment '状态',
	remark varchar(100) comment '备注',
	clId int comment '材料',
	cjId int comment '车间',
	yjclnum int comment '预计损耗材料',
	grrs int comment '工人人数',
	jobdate varchar(100) comment '工作时间',
	cpNum int comment '产品产出数量',
	sh int comment '损耗材料数量',
	v1 varchar(100) comment '负责人',
	v2 varchar(100) comment '电话',
	v3 varchar(100) comment '说明',
	v4 varchar(100) comment '完成日期'
) comment '计划';

用户表创建语句如下:


create table t_yg(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	ygName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	js 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_cj(
	id integer,
	cjName varchar(100),
	cjrs int,
	cjbz varchar(100)
);
--车间字段加注释
comment on column t_cj.id is '主键';
comment on column t_cj.cjName is '车间编号';
comment on column t_cj.cjrs is '车间人数';
comment on column t_cj.cjbz is '车间备注';
--车间表加注释
comment on table t_cj is '车间';

材料表创建语句如下:


create table t_cl(
	id integer,
	clName varchar(100),
	clsl int,
	clbz varchar(100)
);
--材料字段加注释
comment on column t_cl.id is '主键';
comment on column t_cl.clName is '材料名称';
comment on column t_cl.clsl is '材料库存数量';
comment on column t_cl.clbz is '材料备注';
--材料表加注释
comment on table t_cl is '材料';

产品表创建语句如下:


create table t_cp(
	id integer,
	cpName varchar(100),
	cpsl int,
	cpbz varchar(100)
);
--产品字段加注释
comment on column t_cp.id is '主键';
comment on column t_cp.cpName is '产品名称';
comment on column t_cp.cpsl is '产品库存数量';
comment on column t_cp.cpbz is '产品备注';
--产品表加注释
comment on table t_cp is '产品';

计划表创建语句如下:


create table t_jh(
	id integer,
	cpId int,
	num int,
	jhrz varchar(100),
	status varchar(100),
	remark varchar(100),
	clId int,
	cjId int,
	yjclnum int,
	grrs int,
	jobdate varchar(100),
	cpNum int,
	sh int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--计划字段加注释
comment on column t_jh.id is '主键';
comment on column t_jh.cpId is '产品';
comment on column t_jh.num is '数量';
comment on column t_jh.jhrz is '交货日期';
comment on column t_jh.status is '状态';
comment on column t_jh.remark is '备注';
comment on column t_jh.clId is '材料';
comment on column t_jh.cjId is '车间';
comment on column t_jh.yjclnum is '预计损耗材料';
comment on column t_jh.grrs is '工人人数';
comment on column t_jh.jobdate is '工作时间';
comment on column t_jh.cpNum is '产品产出数量';
comment on column t_jh.sh is '损耗材料数量';
comment on column t_jh.v1 is '负责人';
comment on column t_jh.v2 is '电话';
comment on column t_jh.v3 is '说明';
comment on column t_jh.v4 is '完成日期';
--计划表加注释
comment on table t_jh is '计划';

用户表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	js varchar(100)
);
--用户字段加注释
comment on column t_yg.id is '主键';
comment on column t_yg.username is '账号';
comment on column t_yg.password is '密码';
comment on column t_yg.ygName is '姓名';
comment on column t_yg.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.phone is '电话';
comment on column t_yg.js is '角色';
--用户表加注释
comment on table t_yg is '用户';

oracle特有,对应序列如下:


create sequence s_t_cj;
create sequence s_t_cl;
create sequence s_t_cp;
create sequence s_t_jh;
create sequence s_t_yg;

基于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_cj(
	id int identity(1,1) primary key not null,--主键
	cjName varchar(100),--车间编号
	cjrs int,--车间人数
	cjbz varchar(100)--车间备注
);

材料表创建语句如下:


--材料表注释
create table t_cl(
	id int identity(1,1) primary key not null,--主键
	clName varchar(100),--材料名称
	clsl int,--材料库存数量
	clbz varchar(100)--材料备注
);

产品表创建语句如下:


--产品表注释
create table t_cp(
	id int identity(1,1) primary key not null,--主键
	cpName varchar(100),--产品名称
	cpsl int,--产品库存数量
	cpbz varchar(100)--产品备注
);

计划表创建语句如下:


--计划表注释
create table t_jh(
	id int identity(1,1) primary key not null,--主键
	cpId int,--产品
	num int,--数量
	jhrz varchar(100),--交货日期
	status varchar(100),--状态
	remark varchar(100),--备注
	clId int,--材料
	cjId int,--车间
	yjclnum int,--预计损耗材料
	grrs int,--工人人数
	jobdate varchar(100),--工作时间
	cpNum int,--产品产出数量
	sh int,--损耗材料数量
	v1 varchar(100),--负责人
	v2 varchar(100),--电话
	v3 varchar(100),--说明
	v4 varchar(100)--完成日期
);

用户表创建语句如下:


--用户表注释
create table t_yg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	ygName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	js 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_cj")
public class Cj {
//主键
@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 cjName;
//车间人数
private Integer cjrs;
//车间备注
private String cjbz;
public String getCjName() {return cjName;}
public void setCjName(String cjName) {this.cjName = cjName;}
public Integer getCjrs() {return cjrs;}
public void setCjrs(Integer cjrs) {this.cjrs = cjrs;}
public String getCjbz() {return cjbz;}
public void setCjbz(String cjbz) {this.cjbz = cjbz;}
}

材料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_cl")
public class Cl {
//主键
@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 clName;
//材料库存数量
private Integer clsl;
//材料备注
private String clbz;
public String getClName() {return clName;}
public void setClName(String clName) {this.clName = clName;}
public Integer getClsl() {return clsl;}
public void setClsl(Integer clsl) {this.clsl = clsl;}
public String getClbz() {return clbz;}
public void setClbz(String clbz) {this.clbz = clbz;}
}

产品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 Integer cpsl;
//产品备注
private String cpbz;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public Integer getCpsl() {return cpsl;}
public void setCpsl(Integer cpsl) {this.cpsl = cpsl;}
public String getCpbz() {return cpbz;}
public void setCpbz(String cpbz) {this.cpbz = cpbz;}
}

计划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_jh")
public class Jh {
//主键
@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 Integer cpId;
//数量
private Integer num;
//交货日期
private String jhrz;
//状态
private String status;
//备注
private String remark;
//材料
private Integer clId;
//车间
private Integer cjId;
//预计损耗材料
private Integer yjclnum;
//工人人数
private Integer grrs;
//工作时间
private String jobdate;
//产品产出数量
private Integer cpNum;
//损耗材料数量
private Integer sh;
//负责人
private String v1;
//电话
private String v2;
//说明
private String v3;
//完成日期
private String v4;
public Integer getCpId() {return cpId;}
public void setCpId(Integer cpId) {this.cpId = cpId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getJhrz() {return jhrz;}
public void setJhrz(String jhrz) {this.jhrz = jhrz;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public Integer getCjId() {return cjId;}
public void setCjId(Integer cjId) {this.cjId = cjId;}
public Integer getYjclnum() {return yjclnum;}
public void setYjclnum(Integer yjclnum) {this.yjclnum = yjclnum;}
public Integer getGrrs() {return grrs;}
public void setGrrs(Integer grrs) {this.grrs = grrs;}
public String getJobdate() {return jobdate;}
public void setJobdate(String jobdate) {this.jobdate = jobdate;}
public Integer getCpNum() {return cpNum;}
public void setCpNum(Integer cpNum) {this.cpNum = cpNum;}
public Integer getSh() {return sh;}
public void setSh(Integer sh) {this.sh = sh;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

用户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_yg")
public class Yg {
//主键
@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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//角色
private String js;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

基于JAVA的服装企业的生产作业计划需求分析spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

车间javaBean创建语句如下:


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

//车间
public class Cj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车间编号
private String cjName;
//车间人数
private Integer cjrs;
//车间备注
private String cjbz;
public String getCjName() {return cjName;}
public void setCjName(String cjName) {this.cjName = cjName;}
public Integer getCjrs() {return cjrs;}
public void setCjrs(Integer cjrs) {this.cjrs = cjrs;}
public String getCjbz() {return cjbz;}
public void setCjbz(String cjbz) {this.cjbz = cjbz;}
}

材料javaBean创建语句如下:


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

//材料
public class Cl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料名称
private String clName;
//材料库存数量
private Integer clsl;
//材料备注
private String clbz;
public String getClName() {return clName;}
public void setClName(String clName) {this.clName = clName;}
public Integer getClsl() {return clsl;}
public void setClsl(Integer clsl) {this.clsl = clsl;}
public String getClbz() {return clbz;}
public void setClbz(String clbz) {this.clbz = clbz;}
}

产品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 Integer cpsl;
//产品备注
private String cpbz;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public Integer getCpsl() {return cpsl;}
public void setCpsl(Integer cpsl) {this.cpsl = cpsl;}
public String getCpbz() {return cpbz;}
public void setCpbz(String cpbz) {this.cpbz = cpbz;}
}

计划javaBean创建语句如下:


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

//计划
public class Jh  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer cpId;
//数量
private Integer num;
//交货日期
private String jhrz;
//状态
private String status;
//备注
private String remark;
//材料
private Integer clId;
//车间
private Integer cjId;
//预计损耗材料
private Integer yjclnum;
//工人人数
private Integer grrs;
//工作时间
private String jobdate;
//产品产出数量
private Integer cpNum;
//损耗材料数量
private Integer sh;
//负责人
private String v1;
//电话
private String v2;
//说明
private String v3;
//完成日期
private String v4;
public Integer getCpId() {return cpId;}
public void setCpId(Integer cpId) {this.cpId = cpId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getJhrz() {return jhrz;}
public void setJhrz(String jhrz) {this.jhrz = jhrz;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public Integer getCjId() {return cjId;}
public void setCjId(Integer cjId) {this.cjId = cjId;}
public Integer getYjclnum() {return yjclnum;}
public void setYjclnum(Integer yjclnum) {this.yjclnum = yjclnum;}
public Integer getGrrs() {return grrs;}
public void setGrrs(Integer grrs) {this.grrs = grrs;}
public String getJobdate() {return jobdate;}
public void setJobdate(String jobdate) {this.jobdate = jobdate;}
public Integer getCpNum() {return cpNum;}
public void setCpNum(Integer cpNum) {this.cpNum = cpNum;}
public Integer getSh() {return sh;}
public void setSh(Integer sh) {this.sh = sh;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

用户javaBean创建语句如下:


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

//用户
public class Yg  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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//角色
private String js;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

评论