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

高校食堂运营管理系统(canteen_manager_system),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_cgqd(
	id int primary key auto_increment comment '主键',
	cgqdName varchar(100) comment '采购清单编号',
	pic varchar(100) comment '拍照图片',
	content varchar(100) comment '采购内容',
	showDate varchar(100) comment '日期',
	status varchar(100) comment '状态',
	back varchar(100) comment '采购回复'
) comment '采购清单';

菜品表创建语句如下:


create table t_cp(
	id int primary key auto_increment comment '主键',
	cpName varchar(100) comment '菜品名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '简介',
	status varchar(100) comment '状态',
	fee int comment ''
) comment '菜品';

饭卡充值表创建语句如下:


create table t_cz(
	id int primary key auto_increment comment '主键',
	fkName varchar(100) comment '饭卡编号',
	fee varchar(100) comment '金额',
	insertDate datetime comment '日期'
) comment '饭卡充值';

饭卡表创建语句如下:


create table t_fk(
	id int primary key auto_increment comment '主键',
	fkName varchar(100) comment '饭卡编号',
	phone varchar(100) comment '电话',
	name varchar(100) comment '姓名',
	status varchar(100) comment '状态',
	fee varchar(100) comment '金额'
) comment '饭卡';

消费记录表创建语句如下:


create table t_xf(
	id int primary key auto_increment comment '主键',
	fkName varchar(100) comment '饭卡编号',
	fee varchar(100) comment '金额',
	content varchar(100) comment '消费内容',
	insertDate datetime 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 '电话',
	types 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_cgqd(
	id integer,
	cgqdName varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate varchar(100),
	status varchar(100),
	back varchar(100)
);
--采购清单字段加注释
comment on column t_cgqd.id is '主键';
comment on column t_cgqd.cgqdName is '采购清单编号';
comment on column t_cgqd.pic is '拍照图片';
comment on column t_cgqd.content is '采购内容';
comment on column t_cgqd.showDate is '日期';
comment on column t_cgqd.status is '状态';
comment on column t_cgqd.back is '采购回复';
--采购清单表加注释
comment on table t_cgqd is '采购清单';

菜品表创建语句如下:


create table t_cp(
	id integer,
	cpName varchar(100),
	pic varchar(100),
	content varchar(100),
	status varchar(100),
	fee int
);
--菜品字段加注释
comment on column t_cp.id is '主键';
comment on column t_cp.cpName is '菜品名称';
comment on column t_cp.pic is '图片';
comment on column t_cp.content is '简介';
comment on column t_cp.status is '状态';
comment on column t_cp.fee is '';
--菜品表加注释
comment on table t_cp is '菜品';

饭卡充值表创建语句如下:


create table t_cz(
	id integer,
	fkName varchar(100),
	fee varchar(100),
	insertDate datetime
);
--饭卡充值字段加注释
comment on column t_cz.id is '主键';
comment on column t_cz.fkName is '饭卡编号';
comment on column t_cz.fee is '金额';
comment on column t_cz.insertDate is '日期';
--饭卡充值表加注释
comment on table t_cz is '饭卡充值';

饭卡表创建语句如下:


create table t_fk(
	id integer,
	fkName varchar(100),
	phone varchar(100),
	name varchar(100),
	status varchar(100),
	fee varchar(100)
);
--饭卡字段加注释
comment on column t_fk.id is '主键';
comment on column t_fk.fkName is '饭卡编号';
comment on column t_fk.phone is '电话';
comment on column t_fk.name is '姓名';
comment on column t_fk.status is '状态';
comment on column t_fk.fee is '金额';
--饭卡表加注释
comment on table t_fk is '饭卡';

消费记录表创建语句如下:


create table t_xf(
	id integer,
	fkName varchar(100),
	fee varchar(100),
	content varchar(100),
	insertDate datetime
);
--消费记录字段加注释
comment on column t_xf.id is '主键';
comment on column t_xf.fkName is '饭卡编号';
comment on column t_xf.fee is '金额';
comment on column t_xf.content is '消费内容';
comment on column t_xf.insertDate is '日期';
--消费记录表加注释
comment on table t_xf 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),
	types 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.types is '员工类型';
--员工表加注释
comment on table t_yg is '员工';

oracle特有,对应序列如下:


create sequence s_t_cgqd;
create sequence s_t_cp;
create sequence s_t_cz;
create sequence s_t_fk;
create sequence s_t_xf;
create sequence s_t_yg;

高校食堂运营管理系统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_cgqd(
	id int identity(1,1) primary key not null,--主键
	cgqdName varchar(100),--采购清单编号
	pic varchar(100),--拍照图片
	content varchar(100),--采购内容
	showDate varchar(100),--日期
	status varchar(100),--状态
	back varchar(100)--采购回复
);

菜品表创建语句如下:


--菜品表注释
create table t_cp(
	id int identity(1,1) primary key not null,--主键
	cpName varchar(100),--菜品名称
	pic varchar(100),--图片
	content varchar(100),--简介
	status varchar(100),--状态
	fee int--
);

饭卡充值表创建语句如下:


--饭卡充值表注释
create table t_cz(
	id int identity(1,1) primary key not null,--主键
	fkName varchar(100),--饭卡编号
	fee varchar(100),--金额
	insertDate datetime--日期
);

饭卡表创建语句如下:


--饭卡表注释
create table t_fk(
	id int identity(1,1) primary key not null,--主键
	fkName varchar(100),--饭卡编号
	phone varchar(100),--电话
	name varchar(100),--姓名
	status varchar(100),--状态
	fee varchar(100)--金额
);

消费记录表创建语句如下:


--消费记录表注释
create table t_xf(
	id int identity(1,1) primary key not null,--主键
	fkName varchar(100),--饭卡编号
	fee varchar(100),--金额
	content varchar(100),--消费内容
	insertDate datetime--日期
);

员工表创建语句如下:


--员工表注释
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),--电话
	types 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_cgqd")
public class Cgqd {
//主键
@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 cgqdName;
//拍照图片
private String pic;
//采购内容
private String content;
//日期
private String showDate;
//状态
private String status;
//采购回复
private String back;
public String getCgqdName() {return cgqdName;}
public void setCgqdName(String cgqdName) {this.cgqdName = cgqdName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

菜品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 pic;
//简介
private String content;
//状态
private String status;
//
private Integer fee;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

饭卡充值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_cz")
public class Cz {
//主键
@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 fkName;
//金额
private String fee;
//日期
private Date insertDate;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

饭卡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_fk")
public class Fk {
//主键
@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 fkName;
//电话
private String phone;
//姓名
private String name;
//状态
private String status;
//金额
private String fee;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
}

消费记录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_xf")
public class Xf {
//主键
@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 fkName;
//金额
private String fee;
//消费内容
private String content;
//日期
private Date insertDate;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

员工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 types;
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

高校食堂运营管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

采购清单javaBean创建语句如下:


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

//采购清单
public class Cgqd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//采购清单编号
private String cgqdName;
//拍照图片
private String pic;
//采购内容
private String content;
//日期
private String showDate;
//状态
private String status;
//采购回复
private String back;
public String getCgqdName() {return cgqdName;}
public void setCgqdName(String cgqdName) {this.cgqdName = cgqdName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

菜品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 pic;
//简介
private String content;
//状态
private String status;
//
private Integer fee;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

饭卡充值javaBean创建语句如下:


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

//饭卡充值
public class Cz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//饭卡编号
private String fkName;
//金额
private String fee;
//日期
private Date insertDate;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

饭卡javaBean创建语句如下:


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

//饭卡
public class Fk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//饭卡编号
private String fkName;
//电话
private String phone;
//姓名
private String name;
//状态
private String status;
//金额
private String fee;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
}

消费记录javaBean创建语句如下:


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

//消费记录
public class Xf  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//饭卡编号
private String fkName;
//金额
private String fee;
//消费内容
private String content;
//日期
private Date insertDate;
public String getFkName() {return fkName;}
public void setFkName(String fkName) {this.fkName = fkName;}
public String getFee() {return fee;}
public void setFee(String fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

员工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 types;
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

评论