基于html5的汽车修配商WebApp的设计与开发

基于html5的汽车修配商WebApp的设计与开发登录注册界面

基于html5的汽车修配商WebApp的设计与开发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_bj(
	id int primary key auto_increment comment '主键',
	gysId int comment '供应商',
	orderId int comment '订单',
	bj int comment '报价'
) comment '报价';

配件表创建语句如下:


create table t_car(
	id int primary key auto_increment comment '主键',
	VIN varchar(100) comment '',
	pjName 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 '密码',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手机'
) comment '客户';

供应商表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	gysName varchar(100) comment '供应商名称',
	address varchar(100) comment '地址',
	phone varchar(100) comment '电话'
) comment '供应商';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '修理厂',
	pic varchar(100) comment '图片',
	cp varchar(100) comment '车牌',
	VIN varchar(100) comment 'VIN',
	pjName varchar(100) comment '配件组合',
	bjId int comment '选择的报价',
	num varchar(100) comment '订单号',
	insertDate datetime comment '生成日期',
	isjj varchar(100) comment '是否加急',
	status varchar(100) comment '状态',
	gysId int comment '供应商'
) comment '订单';

下单交流表创建语句如下:


create table t_orderjl(
	id int primary key auto_increment comment '主键',
	customerId int comment '修理厂',
	gysId int comment '供应商',
	content varchar(100) comment '内容',
	types varchar(100) comment '类型',
	insertDate datetime comment '操作日期',
	orderId varchar(100) comment '订单'
) comment '下单交流';

基于html5的汽车修配商WebApp的设计与开发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_bj(
	id integer,
	gysId int,
	orderId int,
	bj int
);
--报价字段加注释
comment on column t_bj.id is '主键';
comment on column t_bj.gysId is '供应商';
comment on column t_bj.orderId is '订单';
comment on column t_bj.bj is '报价';
--报价表加注释
comment on table t_bj is '报价';

配件表创建语句如下:


create table t_car(
	id integer,
	VIN varchar(100),
	pjName varchar(100)
);
--配件字段加注释
comment on column t_car.id is '主键';
comment on column t_car.VIN is '';
comment on column t_car.pjName 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),
	name varchar(100),
	sex varchar(100),
	address varchar(100),
	mobile 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.name is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
--客户表加注释
comment on table t_customer is '客户';

供应商表创建语句如下:


create table t_gys(
	id integer,
	username varchar(100),
	password varchar(100),
	gysName varchar(100),
	address varchar(100),
	phone varchar(100)
);
--供应商字段加注释
comment on column t_gys.id is '主键';
comment on column t_gys.username is '账号';
comment on column t_gys.password is '密码';
comment on column t_gys.gysName is '供应商名称';
comment on column t_gys.address is '地址';
comment on column t_gys.phone is '电话';
--供应商表加注释
comment on table t_gys is '供应商';

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	pic varchar(100),
	cp varchar(100),
	VIN varchar(100),
	pjName varchar(100),
	bjId int,
	num varchar(100),
	insertDate datetime,
	isjj varchar(100),
	status varchar(100),
	gysId int
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '修理厂';
comment on column t_order.pic is '图片';
comment on column t_order.cp is '车牌';
comment on column t_order.VIN is 'VIN';
comment on column t_order.pjName is '配件组合';
comment on column t_order.bjId is '选择的报价';
comment on column t_order.num is '订单号';
comment on column t_order.insertDate is '生成日期';
comment on column t_order.isjj is '是否加急';
comment on column t_order.status is '状态';
comment on column t_order.gysId is '供应商';
--订单表加注释
comment on table t_order is '订单';

下单交流表创建语句如下:


create table t_orderjl(
	id integer,
	customerId int,
	gysId int,
	content varchar(100),
	types varchar(100),
	insertDate datetime,
	orderId varchar(100)
);
--下单交流字段加注释
comment on column t_orderjl.id is '主键';
comment on column t_orderjl.customerId is '修理厂';
comment on column t_orderjl.gysId is '供应商';
comment on column t_orderjl.content is '内容';
comment on column t_orderjl.types is '类型';
comment on column t_orderjl.insertDate is '操作日期';
comment on column t_orderjl.orderId is '订单';
--下单交流表加注释
comment on table t_orderjl is '下单交流';

oracle特有,对应序列如下:


create sequence s_t_bj;
create sequence s_t_car;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_gys;
create sequence s_t_order;
create sequence s_t_orderjl;

基于html5的汽车修配商WebApp的设计与开发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_bj(
	id int identity(1,1) primary key not null,--主键
	gysId int,--供应商
	orderId int,--订单
	bj int--报价
);

配件表创建语句如下:


--配件表注释
create table t_car(
	id int identity(1,1) primary key not null,--主键
	VIN varchar(100),--
	pjName 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),--密码
	name varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	mobile varchar(100)--手机
);

供应商表创建语句如下:


--供应商表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	gysName varchar(100),--供应商名称
	address varchar(100),--地址
	phone varchar(100)--电话
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--修理厂
	pic varchar(100),--图片
	cp varchar(100),--车牌
	VIN varchar(100),--VIN
	pjName varchar(100),--配件组合
	bjId int,--选择的报价
	num varchar(100),--订单号
	insertDate datetime,--生成日期
	isjj varchar(100),--是否加急
	status varchar(100),--状态
	gysId int--供应商
);

下单交流表创建语句如下:


--下单交流表注释
create table t_orderjl(
	id int identity(1,1) primary key not null,--主键
	customerId int,--修理厂
	gysId int,--供应商
	content varchar(100),--内容
	types varchar(100),--类型
	insertDate datetime,--操作日期
	orderId varchar(100)--订单
);

基于html5的汽车修配商WebApp的设计与开发登录后主页

基于html5的汽车修配商WebApp的设计与开发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_bj")
public class Bj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商
private Integer gysId;
//订单
private Integer orderId;
//报价
private Integer bj;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getBj() {return bj;}
public void setBj(Integer bj) {this.bj = bj;}
}

配件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 VIN;
//
private String pjName;
public String getVIN() {return VIN;}
public void setVIN(String VIN) {this.VIN = VIN;}
public String getPjName() {return pjName;}
public void setPjName(String pjName) {this.pjName = pjName;}
}

建议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 name;
//性别
private String sex;
//地址
private String address;
//手机
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 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 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_gys")
public class Gys {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//供应商名称
private String gysName;
//地址
private String address;
//电话
private String phone;
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 getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
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;}
}

订单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 pic;
//车牌
private String cp;
//VIN
private String VIN;
//配件组合
private String pjName;
//选择的报价
private Integer bjId;
//订单号
private String num;
//生成日期
private Date insertDate;
//是否加急
private String isjj;
//状态
private String status;
//供应商
private Integer gysId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getCp() {return cp;}
public void setCp(String cp) {this.cp = cp;}
public String getVIN() {return VIN;}
public void setVIN(String VIN) {this.VIN = VIN;}
public String getPjName() {return pjName;}
public void setPjName(String pjName) {this.pjName = pjName;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getIsjj() {return isjj;}
public void setIsjj(String isjj) {this.isjj = isjj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

下单交流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_orderjl")
public class Orderjl {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//修理厂
private Integer customerId;
//供应商
private Integer gysId;
//内容
private String content;
//类型
private String types;
//操作日期
private Date insertDate;
//订单
private String orderId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getOrderId() {return orderId;}
public void setOrderId(String orderId) {this.orderId = orderId;}
}

基于html5的汽车修配商WebApp的设计与开发spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

报价javaBean创建语句如下:


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

//报价
public class Bj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商
private Integer gysId;
//订单
private Integer orderId;
//报价
private Integer bj;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getBj() {return bj;}
public void setBj(Integer bj) {this.bj = bj;}
}

配件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 VIN;
//
private String pjName;
public String getVIN() {return VIN;}
public void setVIN(String VIN) {this.VIN = VIN;}
public String getPjName() {return pjName;}
public void setPjName(String pjName) {this.pjName = pjName;}
}

建议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 name;
//性别
private String sex;
//地址
private String address;
//手机
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 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 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 Gys  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 gysName;
//地址
private String address;
//电话
private String phone;
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 getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
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;}
}

订单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 pic;
//车牌
private String cp;
//VIN
private String VIN;
//配件组合
private String pjName;
//选择的报价
private Integer bjId;
//订单号
private String num;
//生成日期
private Date insertDate;
//是否加急
private String isjj;
//状态
private String status;
//供应商
private Integer gysId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getCp() {return cp;}
public void setCp(String cp) {this.cp = cp;}
public String getVIN() {return VIN;}
public void setVIN(String VIN) {this.VIN = VIN;}
public String getPjName() {return pjName;}
public void setPjName(String pjName) {this.pjName = pjName;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getIsjj() {return isjj;}
public void setIsjj(String isjj) {this.isjj = isjj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

下单交流javaBean创建语句如下:


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

//下单交流
public class Orderjl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//修理厂
private Integer customerId;
//供应商
private Integer gysId;
//内容
private String content;
//类型
private String types;
//操作日期
private Date insertDate;
//订单
private String orderId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getOrderId() {return orderId;}
public void setOrderId(String orderId) {this.orderId = orderId;}
}

源代码下载点这里

评论