物流配送管理系统设计和实现

物流配送管理系统设计和实现登录注册界面

物流配送管理系统设计和实现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 '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '客户';

单据查询验收表创建语句如下:


create table t_djcxys(
	id int primary key auto_increment comment '主键',
	orderId int comment '订单',
	types varchar(100) comment '类型',
	djpic varchar(100) comment '单据拍照',
	nowDate datetime comment '时间',
	remark varchar(100) comment '备注'
) comment '单据查询验收';

登记调度表创建语句如下:


create table t_djdd(
	id int primary key auto_increment comment '主键',
	orderId int comment '订单',
	mdd varchar(100) comment '目的地',
	psjd varchar(100) comment '配送进度',
	nowDate datetime comment '当前时间',
	remark varchar(100) comment '备注'
) comment '登记调度';

员工表创建语句如下:


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

公告表创建语句如下:


create table t_gg(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	nowDate datetime comment '时间',
	content varchar(100) comment '内容'
) comment '公告';

货物运收表创建语句如下:


create table t_hwys(
	id int primary key auto_increment comment '主键',
	orderId int comment '订单',
	types varchar(100) comment '类型',
	pic varchar(100) comment '图片',
	nowDate datetime comment '时间',
	ysjs varchar(100) comment '应收结算',
	ywgd varchar(100) comment '业务跟单',
	employeeId int comment '员工'
) comment '货物运收';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	orderbh varchar(100) comment '订单编号',
	hwxx varchar(100) comment '货物信息',
	hwpic varchar(100) comment '货物图片',
	customerId int comment '用户',
	xm varchar(100) comment '姓名',
	dh varchar(100) comment '电话',
	sendaddress varchar(100) comment '发货地址',
	raddress varchar(100) comment '收货地址',
	remark varchar(100) comment '备注',
	insertDate datetime comment ''
) comment '订单';

物流库存表创建语句如下:


create table t_wlkc(
	id int primary key auto_increment comment '主键',
	wpbh varchar(100) comment '物品编号',
	types varchar(100) comment '类型',
	nowDate datetime comment '时间',
	remark varchar(100) comment '备注',
	employeeId int comment '员工'
) comment '物流库存';

物流配送表创建语句如下:


create table t_wlps(
	id int primary key auto_increment comment '主键',
	wpbh varchar(100) comment '物品编号',
	types varchar(100) comment '类型',
	nowDate datetime comment '时间',
	remark varchar(100) comment '备注',
	employeeId int comment '员工'
) comment '物流配送';

物流信息表创建语句如下:


create table t_wlxx(
	id int primary key auto_increment comment '主键',
	orderId int comment '订单',
	types varchar(100) comment '类型',
	sims varchar(100) comment '功能',
	nowDate datetime comment '时间',
	remark varchar(100) comment '备注',
	employeeId int 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),
	phone varchar(100),
	age varchar(100),
	sex 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.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
--客户表加注释
comment on table t_customer is '客户';

单据查询验收表创建语句如下:


create table t_djcxys(
	id integer,
	orderId int,
	types varchar(100),
	djpic varchar(100),
	nowDate datetime,
	remark varchar(100)
);
--单据查询验收字段加注释
comment on column t_djcxys.id is '主键';
comment on column t_djcxys.orderId is '订单';
comment on column t_djcxys.types is '类型';
comment on column t_djcxys.djpic is '单据拍照';
comment on column t_djcxys.nowDate is '时间';
comment on column t_djcxys.remark is '备注';
--单据查询验收表加注释
comment on table t_djcxys is '单据查询验收';

登记调度表创建语句如下:


create table t_djdd(
	id integer,
	orderId int,
	mdd varchar(100),
	psjd varchar(100),
	nowDate datetime,
	remark varchar(100)
);
--登记调度字段加注释
comment on column t_djdd.id is '主键';
comment on column t_djdd.orderId is '订单';
comment on column t_djdd.mdd is '目的地';
comment on column t_djdd.psjd is '配送进度';
comment on column t_djdd.nowDate is '当前时间';
comment on column t_djdd.remark is '备注';
--登记调度表加注释
comment on table t_djdd is '登记调度';

员工表创建语句如下:


create table t_employee(
	id integer,
	username varchar(100),
	password varchar(100),
	employeeName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex 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.employeeName is '姓名';
comment on column t_employee.phone is '电话';
comment on column t_employee.age is '年龄';
comment on column t_employee.sex is '性别';
--员工表加注释
comment on table t_employee is '员工';

公告表创建语句如下:


create table t_gg(
	id integer,
	title varchar(100),
	pic varchar(100),
	nowDate datetime,
	content varchar(100)
);
--公告字段加注释
comment on column t_gg.id is '主键';
comment on column t_gg.title is '标题';
comment on column t_gg.pic is '图片';
comment on column t_gg.nowDate is '时间';
comment on column t_gg.content is '内容';
--公告表加注释
comment on table t_gg is '公告';

货物运收表创建语句如下:


create table t_hwys(
	id integer,
	orderId int,
	types varchar(100),
	pic varchar(100),
	nowDate datetime,
	ysjs varchar(100),
	ywgd varchar(100),
	employeeId int
);
--货物运收字段加注释
comment on column t_hwys.id is '主键';
comment on column t_hwys.orderId is '订单';
comment on column t_hwys.types is '类型';
comment on column t_hwys.pic is '图片';
comment on column t_hwys.nowDate is '时间';
comment on column t_hwys.ysjs is '应收结算';
comment on column t_hwys.ywgd is '业务跟单';
comment on column t_hwys.employeeId is '员工';
--货物运收表加注释
comment on table t_hwys is '货物运收';

订单表创建语句如下:


create table t_order(
	id integer,
	orderbh varchar(100),
	hwxx varchar(100),
	hwpic varchar(100),
	customerId int,
	xm varchar(100),
	dh varchar(100),
	sendaddress varchar(100),
	raddress varchar(100),
	remark varchar(100),
	insertDate datetime
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.orderbh is '订单编号';
comment on column t_order.hwxx is '货物信息';
comment on column t_order.hwpic is '货物图片';
comment on column t_order.customerId is '用户';
comment on column t_order.xm is '姓名';
comment on column t_order.dh is '电话';
comment on column t_order.sendaddress is '发货地址';
comment on column t_order.raddress is '收货地址';
comment on column t_order.remark is '备注';
comment on column t_order.insertDate is '';
--订单表加注释
comment on table t_order is '订单';

物流库存表创建语句如下:


create table t_wlkc(
	id integer,
	wpbh varchar(100),
	types varchar(100),
	nowDate datetime,
	remark varchar(100),
	employeeId int
);
--物流库存字段加注释
comment on column t_wlkc.id is '主键';
comment on column t_wlkc.wpbh is '物品编号';
comment on column t_wlkc.types is '类型';
comment on column t_wlkc.nowDate is '时间';
comment on column t_wlkc.remark is '备注';
comment on column t_wlkc.employeeId is '员工';
--物流库存表加注释
comment on table t_wlkc is '物流库存';

物流配送表创建语句如下:


create table t_wlps(
	id integer,
	wpbh varchar(100),
	types varchar(100),
	nowDate datetime,
	remark varchar(100),
	employeeId int
);
--物流配送字段加注释
comment on column t_wlps.id is '主键';
comment on column t_wlps.wpbh is '物品编号';
comment on column t_wlps.types is '类型';
comment on column t_wlps.nowDate is '时间';
comment on column t_wlps.remark is '备注';
comment on column t_wlps.employeeId is '员工';
--物流配送表加注释
comment on table t_wlps is '物流配送';

物流信息表创建语句如下:


create table t_wlxx(
	id integer,
	orderId int,
	types varchar(100),
	sims varchar(100),
	nowDate datetime,
	remark varchar(100),
	employeeId int
);
--物流信息字段加注释
comment on column t_wlxx.id is '主键';
comment on column t_wlxx.orderId is '订单';
comment on column t_wlxx.types is '类型';
comment on column t_wlxx.sims is '功能';
comment on column t_wlxx.nowDate is '时间';
comment on column t_wlxx.remark is '备注';
comment on column t_wlxx.employeeId is '员工';
--物流信息表加注释
comment on table t_wlxx is '物流信息';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_djcxys;
create sequence s_t_djdd;
create sequence s_t_employee;
create sequence s_t_gg;
create sequence s_t_hwys;
create sequence s_t_order;
create sequence s_t_wlkc;
create sequence s_t_wlps;
create sequence s_t_wlxx;

物流配送管理系统设计和实现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),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

单据查询验收表创建语句如下:


--单据查询验收表注释
create table t_djcxys(
	id int identity(1,1) primary key not null,--主键
	orderId int,--订单
	types varchar(100),--类型
	djpic varchar(100),--单据拍照
	nowDate datetime,--时间
	remark varchar(100)--备注
);

登记调度表创建语句如下:


--登记调度表注释
create table t_djdd(
	id int identity(1,1) primary key not null,--主键
	orderId int,--订单
	mdd varchar(100),--目的地
	psjd varchar(100),--配送进度
	nowDate datetime,--当前时间
	remark varchar(100)--备注
);

员工表创建语句如下:


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

公告表创建语句如下:


--公告表注释
create table t_gg(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	nowDate datetime,--时间
	content varchar(100)--内容
);

货物运收表创建语句如下:


--货物运收表注释
create table t_hwys(
	id int identity(1,1) primary key not null,--主键
	orderId int,--订单
	types varchar(100),--类型
	pic varchar(100),--图片
	nowDate datetime,--时间
	ysjs varchar(100),--应收结算
	ywgd varchar(100),--业务跟单
	employeeId int--员工
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	orderbh varchar(100),--订单编号
	hwxx varchar(100),--货物信息
	hwpic varchar(100),--货物图片
	customerId int,--用户
	xm varchar(100),--姓名
	dh varchar(100),--电话
	sendaddress varchar(100),--发货地址
	raddress varchar(100),--收货地址
	remark varchar(100),--备注
	insertDate datetime--
);

物流库存表创建语句如下:


--物流库存表注释
create table t_wlkc(
	id int identity(1,1) primary key not null,--主键
	wpbh varchar(100),--物品编号
	types varchar(100),--类型
	nowDate datetime,--时间
	remark varchar(100),--备注
	employeeId int--员工
);

物流配送表创建语句如下:


--物流配送表注释
create table t_wlps(
	id int identity(1,1) primary key not null,--主键
	wpbh varchar(100),--物品编号
	types varchar(100),--类型
	nowDate datetime,--时间
	remark varchar(100),--备注
	employeeId int--员工
);

物流信息表创建语句如下:


--物流信息表注释
create table t_wlxx(
	id int identity(1,1) primary key not null,--主键
	orderId int,--订单
	types varchar(100),--类型
	sims varchar(100),--功能
	nowDate datetime,--时间
	remark varchar(100),--备注
	employeeId int--员工
);

物流配送管理系统设计和实现登录后主页

物流配送管理系统设计和实现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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

单据查询验收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_djcxys")
public class Djcxys {
//主键
@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 types;
//单据拍照
private String djpic;
//时间
private Date nowDate;
//备注
private String remark;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getDjpic() {return djpic;}
public void setDjpic(String djpic) {this.djpic = djpic;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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_djdd")
public class Djdd {
//主键
@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 mdd;
//配送进度
private String psjd;
//当前时间
private Date nowDate;
//备注
private String remark;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getMdd() {return mdd;}
public void setMdd(String mdd) {this.mdd = mdd;}
public String getPsjd() {return psjd;}
public void setPsjd(String psjd) {this.psjd = psjd;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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_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 String employeeName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

公告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_gg")
public class Gg {
//主键
@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 title;
//图片
private String pic;
//时间
private Date nowDate;
//内容
private String content;
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 Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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_hwys")
public class Hwys {
//主键
@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 types;
//图片
private String pic;
//时间
private Date nowDate;
//应收结算
private String ysjs;
//业务跟单
private String ywgd;
//员工
private Integer employeeId;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getYsjs() {return ysjs;}
public void setYsjs(String ysjs) {this.ysjs = ysjs;}
public String getYwgd() {return ywgd;}
public void setYwgd(String ywgd) {this.ywgd = ywgd;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

订单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 String orderbh;
//货物信息
private String hwxx;
//货物图片
private String hwpic;
//用户
private Integer customerId;
//姓名
private String xm;
//电话
private String dh;
//发货地址
private String sendaddress;
//收货地址
private String raddress;
//备注
private String remark;
//
private Date insertDate;
public String getOrderbh() {return orderbh;}
public void setOrderbh(String orderbh) {this.orderbh = orderbh;}
public String getHwxx() {return hwxx;}
public void setHwxx(String hwxx) {this.hwxx = hwxx;}
public String getHwpic() {return hwpic;}
public void setHwpic(String hwpic) {this.hwpic = hwpic;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getDh() {return dh;}
public void setDh(String dh) {this.dh = dh;}
public String getSendaddress() {return sendaddress;}
public void setSendaddress(String sendaddress) {this.sendaddress = sendaddress;}
public String getRaddress() {return raddress;}
public void setRaddress(String raddress) {this.raddress = raddress;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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_wlkc")
public class Wlkc {
//主键
@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 wpbh;
//类型
private String types;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public String getWpbh() {return wpbh;}
public void setWpbh(String wpbh) {this.wpbh = wpbh;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

物流配送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_wlps")
public class Wlps {
//主键
@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 wpbh;
//类型
private String types;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public String getWpbh() {return wpbh;}
public void setWpbh(String wpbh) {this.wpbh = wpbh;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

物流信息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_wlxx")
public class Wlxx {
//主键
@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 types;
//功能
private String sims;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getSims() {return sims;}
public void setSims(String sims) {this.sims = sims;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

物流配送管理系统设计和实现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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

单据查询验收javaBean创建语句如下:


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

//单据查询验收
public class Djcxys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单
private Integer orderId;
//类型
private String types;
//单据拍照
private String djpic;
//时间
private Date nowDate;
//备注
private String remark;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getDjpic() {return djpic;}
public void setDjpic(String djpic) {this.djpic = djpic;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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 Djdd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单
private Integer orderId;
//目的地
private String mdd;
//配送进度
private String psjd;
//当前时间
private Date nowDate;
//备注
private String remark;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getMdd() {return mdd;}
public void setMdd(String mdd) {this.mdd = mdd;}
public String getPsjd() {return psjd;}
public void setPsjd(String psjd) {this.psjd = psjd;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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 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 String employeeName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

公告javaBean创建语句如下:


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

//公告
public class Gg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//时间
private Date nowDate;
//内容
private String content;
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 Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
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 Hwys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单
private Integer orderId;
//类型
private String types;
//图片
private String pic;
//时间
private Date nowDate;
//应收结算
private String ysjs;
//业务跟单
private String ywgd;
//员工
private Integer employeeId;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getYsjs() {return ysjs;}
public void setYsjs(String ysjs) {this.ysjs = ysjs;}
public String getYwgd() {return ywgd;}
public void setYwgd(String ywgd) {this.ywgd = ywgd;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

订单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 String orderbh;
//货物信息
private String hwxx;
//货物图片
private String hwpic;
//用户
private Integer customerId;
//姓名
private String xm;
//电话
private String dh;
//发货地址
private String sendaddress;
//收货地址
private String raddress;
//备注
private String remark;
//
private Date insertDate;
public String getOrderbh() {return orderbh;}
public void setOrderbh(String orderbh) {this.orderbh = orderbh;}
public String getHwxx() {return hwxx;}
public void setHwxx(String hwxx) {this.hwxx = hwxx;}
public String getHwpic() {return hwpic;}
public void setHwpic(String hwpic) {this.hwpic = hwpic;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getDh() {return dh;}
public void setDh(String dh) {this.dh = dh;}
public String getSendaddress() {return sendaddress;}
public void setSendaddress(String sendaddress) {this.sendaddress = sendaddress;}
public String getRaddress() {return raddress;}
public void setRaddress(String raddress) {this.raddress = raddress;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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 Wlkc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物品编号
private String wpbh;
//类型
private String types;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public String getWpbh() {return wpbh;}
public void setWpbh(String wpbh) {this.wpbh = wpbh;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

物流配送javaBean创建语句如下:


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

//物流配送
public class Wlps  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物品编号
private String wpbh;
//类型
private String types;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public String getWpbh() {return wpbh;}
public void setWpbh(String wpbh) {this.wpbh = wpbh;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

物流信息javaBean创建语句如下:


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

//物流信息
public class Wlxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单
private Integer orderId;
//类型
private String types;
//功能
private String sims;
//时间
private Date nowDate;
//备注
private String remark;
//员工
private Integer employeeId;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getSims() {return sims;}
public void setSims(String sims) {this.sims = sims;}
public Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
}

源代码下载点这里

评论