1. 程式人生 > >基於java的現代物流資訊管理系統開發,javaweb畢業設計

基於java的現代物流資訊管理系統開發,javaweb畢業設計

**基於java的現代物流資訊管理系統開發,javaweb畢業設計** 基於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_car(
	id int primary key auto_increment comment '主鍵',
	carNum varchar(100) comment '車輛編號',
	carType varchar(100) comment '車輛型別',
	status varchar(100) comment '狀態'
) comment '車輛排程';

建議表建立語句如下:


create table t_contact(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	phone varchar(100) comment '聯絡方式',
	content varchar(100) comment '內容',
	insertDate datetime comment '日期'
) comment '建議';

客戶表建立語句如下:


create table t_customer(
	id int primary key auto_increment comment '主鍵',
	username varchar(100) comment '賬號',
	password varchar(100) comment '密碼',
	customerName varchar(100) comment '姓名',
	sex varchar(100) comment '性別',
	address varchar(100) comment '地址',
	phone varchar(100) comment '手機',
	account int comment '賬戶',
	jf int comment '積分'
) comment '客戶';

發貨表建立語句如下:


create table t_fh(
	id int primary key auto_increment comment '主鍵',
	orderId int comment '訂單',
	insertDate datetime comment '日期',
	content varchar(100) comment '備註'
) comment '發貨';

積分兌換產品表建立語句如下:


create table t_jfdh(
	id int primary key auto_increment comment '主鍵',
	jfName varchar(100) comment '積分產品名稱',
	jfCost int comment '積分數量',
	jfPic varchar(100) comment '產品圖片'
) comment '積分兌換產品';

交貨表建立語句如下:


create table t_jh(
	id int primary key auto_increment comment '主鍵',
	orderId int comment '訂單',
	insertDate datetime comment '日期'
) comment '交貨';

庫存表建立語句如下:


create table t_kc(
	id int primary key auto_increment comment '主鍵',
	productId int comment '產品',
	kcNum int comment '庫存數量',
	insertDate datetime comment '日期'
) comment '庫存';

資訊交流表建立語句如下:


create table t_message(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	messageContent varchar(100) comment '內容',
	types int comment '',
	insertDate datetime comment '時間'
) comment '資訊交流';

訂單表建立語句如下:


create table t_order(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	productDetail varchar(100) comment '訂單詳細',
	allPrice varchar(100) comment '訂單總價格',
	status varchar(100) comment '狀態',
	orderNum varchar(100) comment '訂單編號',
	pl varchar(100) comment '物流資訊',
	insertDate datetime comment '日期'
) comment '訂單';

產品表建立語句如下:


create table t_product(
	id int primary key auto_increment comment '主鍵',
	productName varchar(100) comment '產品名稱',
	productPic1 varchar(100) comment '圖片1',
	productPic2 varchar(100) comment '圖片2',
	productPic3 varchar(100) comment '圖片3',
	productPic4 varchar(100) comment '圖片4',
	price int comment '價格',
	oldPrice int comment '原價',
	content varchar(100) comment '內容',
	nums int comment '數量',
	tjxj varchar(100) comment '推薦星級',
	status varchar(100) comment '狀態',
	typesId int comment '分類',
	jf int comment '積分'
) comment '產品';

購物車表建立語句如下:


create table t_shopcar(
	id int primary key auto_increment comment '主鍵',
	productId int comment '產品',
	num int comment '數量',
	customerId int comment ''
) comment '購物車';

退貨表建立語句如下:


create table t_th(
	id int primary key auto_increment comment '主鍵',
	orderId int comment '訂單',
	insertDate datetime comment '日期',
	content varchar(100) comment '備註'
) comment '退貨';

分類表建立語句如下:


create table t_types(
	id int primary key auto_increment comment '主鍵',
	typesName varchar(100) comment '分類'
) comment '分類';

普通員工表建立語句如下:


create table t_user(
	id int primary key auto_increment comment '主鍵',
	username varchar(100) comment '賬號',
	password varchar(100) comment '密碼',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工號',
	mobile varchar(100) comment '手機'
) comment '普通員工';

線路資訊表建立語句如下:


create table t_xl(
	id int primary key auto_increment comment '主鍵',
	lxName varchar(100) comment '線路資訊',
	lxContent varchar(100) comment '線路備註',
	content 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_car(
	id integer,
	carNum varchar(100),
	carType varchar(100),
	status varchar(100)
);
--車輛排程欄位加註釋
comment on column t_car.id is '主鍵';
comment on column t_car.carNum is '車輛編號';
comment on column t_car.carType is '車輛型別';
comment on column t_car.status is '狀態';
--車輛排程表加註釋
comment on table t_car is '車輛排程';

建議表建立語句如下:


create table t_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建議欄位加註釋
comment on column t_contact.id is '主鍵';
comment on column t_contact.customerId is '使用者';
comment on column t_contact.phone is '聯絡方式';
comment on column t_contact.content is '內容';
comment on column t_contact.insertDate is '日期';
--建議表加註釋
comment on table t_contact is '建議';

客戶表建立語句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	sex varchar(100),
	address varchar(100),
	phone varchar(100),
	account int,
	jf int
);
--客戶欄位加註釋
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.sex is '性別';
comment on column t_customer.address is '地址';
comment on column t_customer.phone is '手機';
comment on column t_customer.account is '賬戶';
comment on column t_customer.jf is '積分';
--客戶表加註釋
comment on table t_customer is '客戶';

發貨表建立語句如下:


create table t_fh(
	id integer,
	orderId int,
	insertDate datetime,
	content varchar(100)
);
--發貨欄位加註釋
comment on column t_fh.id is '主鍵';
comment on column t_fh.orderId is '訂單';
comment on column t_fh.insertDate is '日期';
comment on column t_fh.content is '備註';
--發貨表加註釋
comment on table t_fh is '發貨';

積分兌換產品表建立語句如下:


create table t_jfdh(
	id integer,
	jfName varchar(100),
	jfCost int,
	jfPic varchar(100)
);
--積分兌換產品欄位加註釋
comment on column t_jfdh.id is '主鍵';
comment on column t_jfdh.jfName is '積分產品名稱';
comment on column t_jfdh.jfCost is '積分數量';
comment on column t_jfdh.jfPic is '產品圖片';
--積分兌換產品表加註釋
comment on table t_jfdh is '積分兌換產品';

交貨表建立語句如下:


create table t_jh(
	id integer,
	orderId int,
	insertDate datetime
);
--交貨欄位加註釋
comment on column t_jh.id is '主鍵';
comment on column t_jh.orderId is '訂單';
comment on column t_jh.insertDate is '日期';
--交貨表加註釋
comment on table t_jh is '交貨';

庫存表建立語句如下:


create table t_kc(
	id integer,
	productId int,
	kcNum int,
	insertDate datetime
);
--庫存欄位加註釋
comment on column t_kc.id is '主鍵';
comment on column t_kc.productId is '產品';
comment on column t_kc.kcNum is '庫存數量';
comment on column t_kc.insertDate is '日期';
--庫存表加註釋
comment on table t_kc is '庫存';

資訊交流表建立語句如下:


create table t_message(
	id integer,
	customerId int,
	messageContent varchar(100),
	types int,
	insertDate datetime
);
--資訊交流欄位加註釋
comment on column t_message.id is '主鍵';
comment on column t_message.customerId is '使用者';
comment on column t_message.messageContent is '內容';
comment on column t_message.types is '';
comment on column t_message.insertDate is '時間';
--資訊交流表加註釋
comment on table t_message is '資訊交流';

訂單表建立語句如下:


create table t_order(
	id integer,
	customerId int,
	productDetail varchar(100),
	allPrice varchar(100),
	status varchar(100),
	orderNum varchar(100),
	pl varchar(100),
	insertDate datetime
);
--訂單欄位加註釋
comment on column t_order.id is '主鍵';
comment on column t_order.customerId is '使用者';
comment on column t_order.productDetail is '訂單詳細';
comment on column t_order.allPrice is '訂單總價格';
comment on column t_order.status is '狀態';
comment on column t_order.orderNum is '訂單編號';
comment on column t_order.pl is '物流資訊';
comment on column t_order.insertDate is '日期';
--訂單表加註釋
comment on table t_order is '訂單';

產品表建立語句如下:


create table t_product(
	id integer,
	productName varchar(100),
	productPic1 varchar(100),
	productPic2 varchar(100),
	productPic3 varchar(100),
	productPic4 varchar(100),
	price int,
	oldPrice int,
	content varchar(100),
	nums int,
	tjxj varchar(100),
	status varchar(100),
	typesId int,
	jf int
);
--產品欄位加註釋
comment on column t_product.id is '主鍵';
comment on column t_product.productName is '產品名稱';
comment on column t_product.productPic1 is '圖片1';
comment on column t_product.productPic2 is '圖片2';
comment on column t_product.productPic3 is '圖片3';
comment on column t_product.productPic4 is '圖片4';
comment on column t_product.price is '價格';
comment on column t_product.oldPrice is '原價';
comment on column t_product.content is '內容';
comment on column t_product.nums is '數量';
comment on column t_product.tjxj is '推薦星級';
comment on column t_product.status is '狀態';
comment on column t_product.typesId is '分類';
comment on column t_product.jf is '積分';
--產品表加註釋
comment on table t_product is '產品';

購物車表建立語句如下:


create table t_shopcar(
	id integer,
	productId int,
	num int,
	customerId int
);
--購物車欄位加註釋
comment on column t_shopcar.id is '主鍵';
comment on column t_shopcar.productId is '產品';
comment on column t_shopcar.num is '數量';
comment on column t_shopcar.customerId is '';
--購物車表加註釋
comment on table t_shopcar is '購物車';

退貨表建立語句如下:


create table t_th(
	id integer,
	orderId int,
	insertDate datetime,
	content varchar(100)
);
--退貨欄位加註釋
comment on column t_th.id is '主鍵';
comment on column t_th.orderId is '訂單';
comment on column t_th.insertDate is '日期';
comment on column t_th.content is '備註';
--退貨表加註釋
comment on table t_th is '退貨';

分類表建立語句如下:


create table t_types(
	id integer,
	typesName varchar(100)
);
--分類欄位加註釋
comment on column t_types.id is '主鍵';
comment on column t_types.typesName is '分類';
--分類表加註釋
comment on table t_types is '分類';

普通員工表建立語句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile varchar(100)
);
--普通員工欄位加註釋
comment on column t_user.id is '主鍵';
comment on column t_user.username is '賬號';
comment on column t_user.password is '密碼';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工號';
comment on column t_user.mobile is '手機';
--普通員工表加註釋
comment on table t_user is '普通員工';

線路資訊表建立語句如下:


create table t_xl(
	id integer,
	lxName varchar(100),
	lxContent varchar(100),
	content varchar(100)
);
--線路資訊欄位加註釋
comment on column t_xl.id is '主鍵';
comment on column t_xl.lxName is '線路資訊';
comment on column t_xl.lxContent is '線路備註';
comment on column t_xl.content is '備註';
--線路資訊表加註釋
comment on table t_xl is '線路資訊';

oracle特有,對應序列如下:


create sequence s_t_car;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_fh;
create sequence s_t_jfdh;
create sequence s_t_jh;
create sequence s_t_kc;
create sequence s_t_message;
create sequence s_t_order;
create sequence s_t_product;
create sequence s_t_shopcar;
create sequence s_t_th;
create sequence s_t_types;
create sequence s_t_user;
create sequence s_t_xl;

基於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_car(
	id int identity(1,1) primary key not null,--主鍵
	carNum varchar(100),--車輛編號
	carType varchar(100),--車輛型別
	status varchar(100)--狀態
);

建議表建立語句如下:


--建議表註釋
create table t_contact(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	phone varchar(100),--聯絡方式
	content varchar(100),--內容
	insertDate datetime--日期
);

客戶表建立語句如下:


--客戶表註釋
create table t_customer(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬號
	password varchar(100),--密碼
	customerName varchar(100),--姓名
	sex varchar(100),--性別
	address varchar(100),--地址
	phone varchar(100),--手機
	account int,--賬戶
	jf int--積分
);

發貨表建立語句如下:


--發貨表註釋
create table t_fh(
	id int identity(1,1) primary key not null,--主鍵
	orderId int,--訂單
	insertDate datetime,--日期
	content varchar(100)--備註
);

積分兌換產品表建立語句如下:


--積分兌換產品表註釋
create table t_jfdh(
	id int identity(1,1) primary key not null,--主鍵
	jfName varchar(100),--積分產品名稱
	jfCost int,--積分數量
	jfPic varchar(100)--產品圖片
);

交貨表建立語句如下:


--交貨表註釋
create table t_jh(
	id int identity(1,1) primary key not null,--主鍵
	orderId int,--訂單
	insertDate datetime--日期
);

庫存表建立語句如下:


--庫存表註釋
create table t_kc(
	id int identity(1,1) primary key not null,--主鍵
	productId int,--產品
	kcNum int,--庫存數量
	insertDate datetime--日期
);

資訊交流表建立語句如下:


--資訊交流表註釋
create table t_message(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	messageContent varchar(100),--內容
	types int,--
	insertDate datetime--時間
);

訂單表建立語句如下:


--訂單表註釋
create table t_order(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	productDetail varchar(100),--訂單詳細
	allPrice varchar(100),--訂單總價格
	status varchar(100),--狀態
	orderNum varchar(100),--訂單編號
	pl varchar(100),--物流資訊
	insertDate datetime--日期
);

產品表建立語句如下:


--產品表註釋
create table t_product(
	id int identity(1,1) primary key not null,--主鍵
	productName varchar(100),--產品名稱
	productPic1 varchar(100),--圖片1
	productPic2 varchar(100),--圖片2
	productPic3 varchar(100),--圖片3
	productPic4 varchar(100),--圖片4
	price int,--價格
	oldPrice int,--原價
	content varchar(100),--內容
	nums int,--數量
	tjxj varchar(100),--推薦星級
	status varchar(100),--狀態
	typesId int,--分類
	jf int--積分
);

購物車表建立語句如下:


--購物車表註釋
create table t_shopcar(
	id int identity(1,1) primary key not null,--主鍵
	productId int,--產品
	num int,--數量
	customerId int--
);

退貨表建立語句如下:


--退貨表註釋
create table t_th(
	id int identity(1,1) primary key not null,--主鍵
	orderId int,--訂單
	insertDate datetime,--日期
	content varchar(100)--備註
);

分類表建立語句如下:


--分類表註釋
create table t_types(
	id int identity(1,1) primary key not null,--主鍵
	typesName varchar(100)--分類
);

普通員工表建立語句如下:


--普通員工表註釋
create table t_user(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬號
	password varchar(100),--密碼
	name varchar(100),--姓名
	gh varchar(100),--工號
	mobile varchar(100)--手機
);

線路資訊表建立語句如下:


--線路資訊表註釋
create table t_xl(
	id int identity(1,1) primary key not null,--主鍵
	lxName varchar(100),--線路資訊
	lxContent varchar(100),--線路備註
	content 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_car")
public class Car {
//主鍵
@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 carNum;
//車輛型別
private String carType;
//狀態
private String status;
public String getCarNum() {return carNum;}
public void setCarNum(String carNum) {this.carNum = carNum;}
public String getCarType() {return carType;}
public void setCarType(String carType) {this.carType = carType;}
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_contact")
public class Contact {
//主鍵
@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 String phone;
//內容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_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 sex;
//地址
private String address;
//手機
private String phone;
//賬戶
private Integer account;
//積分
private Integer jf;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

發貨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_fh")
public class Fh {
//主鍵
@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 Date insertDate;
//備註
private String content;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_jfdh")
public class Jfdh {
//主鍵
@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 jfName;
//積分數量
private Integer jfCost;
//產品圖片
private String jfPic;
public String getJfName() {return jfName;}
public void setJfName(String jfName) {this.jfName = jfName;}
public Integer getJfCost() {return jfCost;}
public void setJfCost(Integer jfCost) {this.jfCost = jfCost;}
public String getJfPic() {return jfPic;}
public void setJfPic(String jfPic) {this.jfPic = jfPic;}
}

交貨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 orderId;
//日期
private Date insertDate;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
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_kc")
public class Kc {
//主鍵
@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 productId;
//庫存數量
private Integer kcNum;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getKcNum() {return kcNum;}
public void setKcNum(Integer kcNum) {this.kcNum = kcNum;}
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_message")
public class Message {
//主鍵
@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 String messageContent;
//
private Integer types;
//時間
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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_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 String productDetail;
//訂單總價格
private String allPrice;
//狀態
private String status;
//訂單編號
private String orderNum;
//物流資訊
private String pl;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
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_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 String productName;
//圖片1
private String productPic1;
//圖片2
private String productPic2;
//圖片3
private String productPic3;
//圖片4
private String productPic4;
//價格
private Integer price;
//原價
private Integer oldPrice;
//內容
private String content;
//數量
private Integer nums;
//推薦星級
private String tjxj;
//狀態
private String status;
//分類
private Integer typesId;
//積分
private Integer jf;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

購物車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_shopcar")
public class Shopcar {
//主鍵
@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 productId;
//數量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

退貨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_th")
public class Th {
//主鍵
@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 Date insertDate;
//備註
private String content;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_types")
public class Types {
//主鍵
@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 typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

普通員工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_user")
public class User {
//主鍵
@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 name;
//工號
private String gh;
//手機
private String mobile;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

線路資訊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_xl")
public class Xl {
//主鍵
@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 lxName;
//線路備註
private String lxContent;
//備註
private String content;
public String getLxName() {return lxName;}
public void setLxName(String lxName) {this.lxName = lxName;}
public String getLxContent() {return lxContent;}
public void setLxContent(String lxContent) {this.lxContent = lxContent;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

基於java的現代物流資訊管理系統開發spring springMVC mybatis框架物件(javaBean,pojo)設計:

車輛排程javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//車輛排程
public class Car  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//車輛編號
private String carNum;
//車輛型別
private String carType;
//狀態
private String status;
public String getCarNum() {return carNum;}
public void setCarNum(String carNum) {this.carNum = carNum;}
public String getCarType() {return carType;}
public void setCarType(String carType) {this.carType = carType;}
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 Contact  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//聯絡方式
private String phone;
//內容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 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 sex;
//地址
private String address;
//手機
private String phone;
//賬戶
private Integer account;
//積分
private Integer jf;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

發貨javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//發貨
public class Fh  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//訂單
private Integer orderId;
//日期
private Date insertDate;
//備註
private String content;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Jfdh  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//積分產品名稱
private String jfName;
//積分數量
private Integer jfCost;
//產品圖片
private String jfPic;
public String getJfName() {return jfName;}
public void setJfName(String jfName) {this.jfName = jfName;}
public Integer getJfCost() {return jfCost;}
public void setJfCost(Integer jfCost) {this.jfCost = jfCost;}
public String getJfPic() {return jfPic;}
public void setJfPic(String jfPic) {this.jfPic = jfPic;}
}

交貨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 orderId;
//日期
private Date insertDate;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
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 Kc  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//產品
private Integer productId;
//庫存數量
private Integer kcNum;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getKcNum() {return kcNum;}
public void setKcNum(Integer kcNum) {this.kcNum = kcNum;}
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 Message  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//內容
private String messageContent;
//
private Integer types;
//時間
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 Order  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//訂單詳細
private String productDetail;
//訂單總價格
private String allPrice;
//狀態
private String status;
//訂單編號
private String orderNum;
//物流資訊
private String pl;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
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 Product  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//產品名稱
private String productName;
//圖片1
private String productPic1;
//圖片2
private String productPic2;
//圖片3
private String productPic3;
//圖片4
private String productPic4;
//價格
private Integer price;
//原價
private Integer oldPrice;
//內容
private String content;
//數量
private Integer nums;
//推薦星級
private String tjxj;
//狀態
private String status;
//分類
private Integer typesId;
//積分
private Integer jf;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

購物車javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//購物車
public class Shopcar  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//產品
private Integer productId;
//數量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

退貨javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//退貨
public class Th  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//訂單
private Integer orderId;
//日期
private Date insertDate;
//備註
private String content;
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Types  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分類
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

普通員工javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//普通員工
public class User  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 name;
//工號
private String gh;
//手機
private String mobile;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

線路資訊javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//線路資訊
public class Xl  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//線路資訊
private String lxName;
//線路備註
private String lxContent;
//備註
private String content;
public String getLxName() {return lxName;}
public void setLxName(String lxName) {this.lxName = lxName;}
public String getLxContent() {return lxContent;}
public void setLxContent(String lxContent) {this.lxContent = lxContent;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}