基于路径管理的物流运输系统的设计与实现

基于路径管理的物流运输系统的设计与实现登录注册界面

基于路径管理的物流运输系统的设计与实现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_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 '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址'
) comment '用户';

部门表创建语句如下:


create table t_dept(
	id int primary key auto_increment comment '主键',
	deptName varchar(100) comment '部门名称'
) comment '部门';

人员表创建语句如下:


create table t_employee(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	deptId int comment '部门',
	employeeName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址',
	js varchar(100) comment '角色'
) comment '人员';

供应商表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	gysName varchar(100) comment '供应商名称',
	lxr varchar(100) comment '联系人',
	lxdh varchar(100) comment '联系电话'
) comment '供应商';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '客户',
	wlId int comment '物流',
	productId int comment '产品',
	lj varchar(100) comment '最优路径',
	insertDate datetime comment '开始日期',
	status varchar(100) comment '状态',
	endDate datetime comment '结束日期'
) comment '订单';

产品表创建语句如下:


create table t_product(
	id int primary key auto_increment comment '主键',
	gysId int comment '供应商',
	protypeId int comment '商品类别',
	productName varchar(100) comment '产品名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '详细'
) comment '产品';

产品类别表创建语句如下:


create table t_protype(
	id int primary key auto_increment comment '主键',
	protypeName varchar(100) comment '类别名称'
) comment '产品类别';

物流公司人员表创建语句如下:


create table t_wl(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	wlName varchar(100) comment '物流公司名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址',
	status varchar(100) comment ''
) comment '物流公司人员';

订单跟踪表创建语句如下:


create table t_ysxx(
	id int primary key auto_increment comment '主键',
	orderId int comment '订单',
	ysxxName varchar(100) comment '运输信息',
	pch varchar(100) comment '产品批次号',
	status varchar(100) comment '状态',
	endDate datetime 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_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.address is '住址';
--用户表加注释
comment on table t_customer is '用户';

部门表创建语句如下:


create table t_dept(
	id integer,
	deptName varchar(100)
);
--部门字段加注释
comment on column t_dept.id is '主键';
comment on column t_dept.deptName is '部门名称';
--部门表加注释
comment on table t_dept is '部门';

人员表创建语句如下:


create table t_employee(
	id integer,
	username varchar(100),
	password varchar(100),
	deptId int,
	employeeName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100),
	js varchar(100)
);
--人员字段加注释
comment on column t_employee.id is '主键';
comment on column t_employee.username is '账号';
comment on column t_employee.password is '密码';
comment on column t_employee.deptId is '部门';
comment on column t_employee.employeeName is '姓名';
comment on column t_employee.age is '年龄';
comment on column t_employee.sex is '性别';
comment on column t_employee.phone is '电话';
comment on column t_employee.idcard is '身份证';
comment on column t_employee.address is '住址';
comment on column t_employee.js is '角色';
--人员表加注释
comment on table t_employee is '人员';

供应商表创建语句如下:


create table t_gys(
	id integer,
	gysName varchar(100),
	lxr varchar(100),
	lxdh varchar(100)
);
--供应商字段加注释
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 table t_gys is '供应商';

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	wlId int,
	productId int,
	lj varchar(100),
	insertDate datetime,
	status varchar(100),
	endDate datetime
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '客户';
comment on column t_order.wlId is '物流';
comment on column t_order.productId is '产品';
comment on column t_order.lj is '最优路径';
comment on column t_order.insertDate is '开始日期';
comment on column t_order.status is '状态';
comment on column t_order.endDate is '结束日期';
--订单表加注释
comment on table t_order is '订单';

产品表创建语句如下:


create table t_product(
	id integer,
	gysId int,
	protypeId int,
	productName varchar(100),
	pic varchar(100),
	content varchar(100)
);
--产品字段加注释
comment on column t_product.id is '主键';
comment on column t_product.gysId is '供应商';
comment on column t_product.protypeId is '商品类别';
comment on column t_product.productName is '产品名称';
comment on column t_product.pic is '图片';
comment on column t_product.content is '详细';
--产品表加注释
comment on table t_product is '产品';

产品类别表创建语句如下:


create table t_protype(
	id integer,
	protypeName varchar(100)
);
--产品类别字段加注释
comment on column t_protype.id is '主键';
comment on column t_protype.protypeName is '类别名称';
--产品类别表加注释
comment on table t_protype is '产品类别';

物流公司人员表创建语句如下:


create table t_wl(
	id integer,
	username varchar(100),
	password varchar(100),
	wlName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100),
	status varchar(100)
);
--物流公司人员字段加注释
comment on column t_wl.id is '主键';
comment on column t_wl.username is '账号';
comment on column t_wl.password is '密码';
comment on column t_wl.wlName is '物流公司名称';
comment on column t_wl.age is '年龄';
comment on column t_wl.sex is '性别';
comment on column t_wl.phone is '电话';
comment on column t_wl.idcard is '身份证';
comment on column t_wl.address is '住址';
comment on column t_wl.status is '';
--物流公司人员表加注释
comment on table t_wl is '物流公司人员';

订单跟踪表创建语句如下:


create table t_ysxx(
	id integer,
	orderId int,
	ysxxName varchar(100),
	pch varchar(100),
	status varchar(100),
	endDate datetime
);
--订单跟踪字段加注释
comment on column t_ysxx.id is '主键';
comment on column t_ysxx.orderId is '订单';
comment on column t_ysxx.ysxxName is '运输信息';
comment on column t_ysxx.pch is '产品批次号';
comment on column t_ysxx.status is '状态';
comment on column t_ysxx.endDate is '入库日期';
--订单跟踪表加注释
comment on table t_ysxx is '订单跟踪';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_dept;
create sequence s_t_employee;
create sequence s_t_gys;
create sequence s_t_order;
create sequence s_t_product;
create sequence s_t_protype;
create sequence s_t_wl;
create sequence s_t_ysxx;

基于路径管理的物流运输系统的设计与实现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_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100)--住址
);

部门表创建语句如下:


--部门表注释
create table t_dept(
	id int identity(1,1) primary key not null,--主键
	deptName varchar(100)--部门名称
);

人员表创建语句如下:


--人员表注释
create table t_employee(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	deptId int,--部门
	employeeName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100),--住址
	js varchar(100)--角色
);

供应商表创建语句如下:


--供应商表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	gysName varchar(100),--供应商名称
	lxr varchar(100),--联系人
	lxdh varchar(100)--联系电话
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--客户
	wlId int,--物流
	productId int,--产品
	lj varchar(100),--最优路径
	insertDate datetime,--开始日期
	status varchar(100),--状态
	endDate datetime--结束日期
);

产品表创建语句如下:


--产品表注释
create table t_product(
	id int identity(1,1) primary key not null,--主键
	gysId int,--供应商
	protypeId int,--商品类别
	productName varchar(100),--产品名称
	pic varchar(100),--图片
	content varchar(100)--详细
);

产品类别表创建语句如下:


--产品类别表注释
create table t_protype(
	id int identity(1,1) primary key not null,--主键
	protypeName varchar(100)--类别名称
);

物流公司人员表创建语句如下:


--物流公司人员表注释
create table t_wl(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	wlName varchar(100),--物流公司名称
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100),--住址
	status varchar(100)--
);

订单跟踪表创建语句如下:


--订单跟踪表注释
create table t_ysxx(
	id int identity(1,1) primary key not null,--主键
	orderId int,--订单
	ysxxName varchar(100),--运输信息
	pch varchar(100),--产品批次号
	status varchar(100),--状态
	endDate datetime--入库日期
);

基于路径管理的物流运输系统的设计与实现登录后主页

基于路径管理的物流运输系统的设计与实现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_customer")
public class Customer {
//主键
@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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

部门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_dept")
public class Dept {
//主键
@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 deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}

人员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_employee")
public class Employee {
//主键
@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 Integer deptId;
//姓名
private String employeeName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//角色
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 Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

供应商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;
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;}
}

订单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_order")
public class Order {
//主键
@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 customerId;
//物流
private Integer wlId;
//产品
private Integer productId;
//最优路径
private String lj;
//开始日期
private Date insertDate;
//状态
private String status;
//结束日期
private Date endDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWlId() {return wlId;}
public void setWlId(Integer wlId) {this.wlId = wlId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public String getLj() {return lj;}
public void setLj(String lj) {this.lj = lj;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
}

产品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_product")
public class Product {
//主键
@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 gysId;
//商品类别
private Integer protypeId;
//产品名称
private String productName;
//图片
private String pic;
//详细
private String content;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getProtypeId() {return protypeId;}
public void setProtypeId(Integer protypeId) {this.protypeId = protypeId;}
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
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;}
}

产品类别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_protype")
public class Protype {
//主键
@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 protypeName;
public String getProtypeName() {return protypeName;}
public void setProtypeName(String protypeName) {this.protypeName = protypeName;}
}

物流公司人员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_wl")
public class Wl {
//主键
@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 wlName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//
private String status;
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 getWlName() {return wlName;}
public void setWlName(String wlName) {this.wlName = wlName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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_ysxx")
public class Ysxx {
//主键
@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 orderId;
//运输信息
private String ysxxName;
//产品批次号
private String pch;
//状态
private String status;
//入库日期
private Date endDate;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getYsxxName() {return ysxxName;}
public void setYsxxName(String ysxxName) {this.ysxxName = ysxxName;}
public String getPch() {return pch;}
public void setPch(String pch) {this.pch = pch;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
}

基于路径管理的物流运输系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

用户javaBean创建语句如下:


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

//用户
public class Customer  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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

部门javaBean创建语句如下:


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

//部门
public class Dept  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//部门名称
private String deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}

人员javaBean创建语句如下:


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

//人员
public class Employee  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 Integer deptId;
//姓名
private String employeeName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//角色
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 Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

供应商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;
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;}
}

订单javaBean创建语句如下:


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

//订单
public class Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//客户
private Integer customerId;
//物流
private Integer wlId;
//产品
private Integer productId;
//最优路径
private String lj;
//开始日期
private Date insertDate;
//状态
private String status;
//结束日期
private Date endDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWlId() {return wlId;}
public void setWlId(Integer wlId) {this.wlId = wlId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public String getLj() {return lj;}
public void setLj(String lj) {this.lj = lj;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
}

产品javaBean创建语句如下:


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

//产品
public class Product  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商
private Integer gysId;
//商品类别
private Integer protypeId;
//产品名称
private String productName;
//图片
private String pic;
//详细
private String content;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getProtypeId() {return protypeId;}
public void setProtypeId(Integer protypeId) {this.protypeId = protypeId;}
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
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;}
}

产品类别javaBean创建语句如下:


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

//产品类别
public class Protype  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类别名称
private String protypeName;
public String getProtypeName() {return protypeName;}
public void setProtypeName(String protypeName) {this.protypeName = protypeName;}
}

物流公司人员javaBean创建语句如下:


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

//物流公司人员
public class Wl  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 wlName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//
private String status;
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 getWlName() {return wlName;}
public void setWlName(String wlName) {this.wlName = wlName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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 Ysxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单
private Integer orderId;
//运输信息
private String ysxxName;
//产品批次号
private String pch;
//状态
private String status;
//入库日期
private Date endDate;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getYsxxName() {return ysxxName;}
public void setYsxxName(String ysxxName) {this.ysxxName = ysxxName;}
public String getPch() {return pch;}
public void setPch(String pch) {this.pch = pch;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
}

源代码下载点这里

评论