基于ssm的物流网站设计

详细功能需求描述:

要求简单地模拟并实现物流过程中的大部分功能。如发布货物信息、查询等,系统管理员对客户所填写的信息进行审核,以防止胡乱填写的数据造成不必要的麻烦。管理员审核通过的信息,在审核的同时生成订单。

对于用户:

用户登录后能看到他下单过的订单信息,还有快递物流情况。

用户下单后下单信息录入数据库中。

投诉建议能够提交到后台。

 

对于管理员:

管理员登录后能够看到用户的基本信息、能够审核用户的订单是否正确,如有不正确的比如地址是不存在的,修改后发布。

 

订单信息的选项能够显示审核通过的订单,未审核的,和已经完成的订单。

增加一个我没有写的选项能够看到投诉建议的内容。

 

关于登录界面:

用户正常能够登录,管理员利用一个固定密钥完成管理员登录。用户和管理员登录后应弹到不同界面。

 

查询的部分参照我写的页面中GLYJM.html这样。

 

前端页面希望能调成自适应,然后前端的样子什么的希望保持我写的不要改。

基于ssm的物流网站设计登录注册界面

基于ssm的物流网站设计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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期',
	fileUrl varchar(100) comment '简历',
	v1 varchar(100) comment '',
	v2 varchar(100) comment '',
	v3 varchar(100) comment '',
	v4 varchar(100) 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_wl(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	orderNum varchar(100) comment '运单号',
	v1 varchar(100) comment '寄件人姓名',
	v2 varchar(100) comment '上门地址',
	v3 varchar(100) comment '寄件人手机',
	v4 varchar(100) comment '寄件人固话',
	v5 varchar(100) comment '重量',
	v6 varchar(100) comment '备注',
	v7 varchar(100) comment '收件人姓名',
	v8 varchar(100) comment '收货地址',
	v9 varchar(100) comment '手机',
	v10 varchar(100) comment '固话',
	v11 varchar(100) comment '类型',
	v12 varchar(100) comment '数量',
	insertDate datetime comment '下单日期',
	status varchar(100) comment '状态',
	remark varchar(100) comment '物流信息记录'
) comment '订单信息';

基于ssm的物流网站设计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_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime,
	fileUrl varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--建议字段加注释
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 column t_contact.fileUrl is '简历';
comment on column t_contact.v1 is '';
comment on column t_contact.v2 is '';
comment on column t_contact.v3 is '';
comment on column t_contact.v4 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_wl(
	id integer,
	customerId int,
	orderNum varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100),
	v10 varchar(100),
	v11 varchar(100),
	v12 varchar(100),
	insertDate datetime,
	status varchar(100),
	remark varchar(100)
);
--订单信息字段加注释
comment on column t_wl.id is '主键';
comment on column t_wl.customerId is '用户';
comment on column t_wl.orderNum is '运单号';
comment on column t_wl.v1 is '寄件人姓名';
comment on column t_wl.v2 is '上门地址';
comment on column t_wl.v3 is '寄件人手机';
comment on column t_wl.v4 is '寄件人固话';
comment on column t_wl.v5 is '重量';
comment on column t_wl.v6 is '备注';
comment on column t_wl.v7 is '收件人姓名';
comment on column t_wl.v8 is '收货地址';
comment on column t_wl.v9 is '手机';
comment on column t_wl.v10 is '固话';
comment on column t_wl.v11 is '类型';
comment on column t_wl.v12 is '数量';
comment on column t_wl.insertDate is '下单日期';
comment on column t_wl.status is '状态';
comment on column t_wl.remark is '物流信息记录';
--订单信息表加注释
comment on table t_wl is '订单信息';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_wl;

基于ssm的物流网站设计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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime,--日期
	fileUrl varchar(100),--简历
	v1 varchar(100),--
	v2 varchar(100),--
	v3 varchar(100),--
	v4 varchar(100)--
);

客户表创建语句如下:


--客户表注释
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_wl(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	orderNum varchar(100),--运单号
	v1 varchar(100),--寄件人姓名
	v2 varchar(100),--上门地址
	v3 varchar(100),--寄件人手机
	v4 varchar(100),--寄件人固话
	v5 varchar(100),--重量
	v6 varchar(100),--备注
	v7 varchar(100),--收件人姓名
	v8 varchar(100),--收货地址
	v9 varchar(100),--手机
	v10 varchar(100),--固话
	v11 varchar(100),--类型
	v12 varchar(100),--数量
	insertDate datetime,--下单日期
	status varchar(100),--状态
	remark varchar(100)--物流信息记录
);

基于ssm的物流网站设计登录后主页

基于ssm的物流网站设计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_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;
//简历
private String fileUrl;
//
private String v1;
//
private String v2;
//
private String v3;
//
private String v4;
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;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

客户javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//客户
@Table(name = "t_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_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 Integer customerId;
//运单号
private String orderNum;
//寄件人姓名
private String v1;
//上门地址
private String v2;
//寄件人手机
private String v3;
//寄件人固话
private String v4;
//重量
private String v5;
//备注
private String v6;
//收件人姓名
private String v7;
//收货地址
private String v8;
//手机
private String v9;
//固话
private String v10;
//类型
private String v11;
//数量
private String v12;
//下单日期
private Date insertDate;
//状态
private String status;
//物流信息记录
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
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 String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

基于ssm的物流网站设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议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;
//简历
private String fileUrl;
//
private String v1;
//
private String v2;
//
private String v3;
//
private String v4;
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;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}

客户javaBean创建语句如下:


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

//客户
public class 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 Wl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//运单号
private String orderNum;
//寄件人姓名
private String v1;
//上门地址
private String v2;
//寄件人手机
private String v3;
//寄件人固话
private String v4;
//重量
private String v5;
//备注
private String v6;
//收件人姓名
private String v7;
//收货地址
private String v8;
//手机
private String v9;
//固话
private String v10;
//类型
private String v11;
//数量
private String v12;
//下单日期
private Date insertDate;
//状态
private String status;
//物流信息记录
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
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 String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

源代码下载点这里

评论