更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于SSH的汽车维修系统,毕业设计java

基于SSH的汽车维修系统登录注册界面

基于SSH的汽车维修系统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_aa(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	aaName varchar(100) comment '登记员名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '登记员';

检修员表创建语句如下:


create table t_bb(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	bbName varchar(100) comment '检修员名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '检修员';

检查员表创建语句如下:


create table t_cc(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	ccName varchar(100) comment '检查员名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '检查员';

信息登记表创建语句如下:


create table t_xx(
	id int primary key auto_increment comment '主键',
	wxq 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 '归属地A',
	v11 varchar(100) comment '归属地B',
	v12 varchar(100) comment '车号核对',
	v13 varchar(100) comment '机油结束',
	v14 varchar(100) comment '发动机结束',
	v15 varchar(100) comment '机滤结束',
	v16 varchar(100) comment '空调结束',
	v17 varchar(100) comment '清洁结束',
	v18 varchar(100) comment '记事'
) comment '信息登记';

基于SSH的汽车维修系统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_aa(
	id integer,
	username varchar(100),
	password varchar(100),
	aaName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--登记员字段加注释
comment on column t_aa.id is '主键';
comment on column t_aa.username is '账号';
comment on column t_aa.password is '密码';
comment on column t_aa.aaName is '登记员名称';
comment on column t_aa.age is '年龄';
comment on column t_aa.sex is '性别';
comment on column t_aa.phone is '电话';
--登记员表加注释
comment on table t_aa is '登记员';

检修员表创建语句如下:


create table t_bb(
	id integer,
	username varchar(100),
	password varchar(100),
	bbName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--检修员字段加注释
comment on column t_bb.id is '主键';
comment on column t_bb.username is '账号';
comment on column t_bb.password is '密码';
comment on column t_bb.bbName is '检修员名称';
comment on column t_bb.age is '年龄';
comment on column t_bb.sex is '性别';
comment on column t_bb.phone is '电话';
--检修员表加注释
comment on table t_bb is '检修员';

检查员表创建语句如下:


create table t_cc(
	id integer,
	username varchar(100),
	password varchar(100),
	ccName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--检查员字段加注释
comment on column t_cc.id is '主键';
comment on column t_cc.username is '账号';
comment on column t_cc.password is '密码';
comment on column t_cc.ccName is '检查员名称';
comment on column t_cc.age is '年龄';
comment on column t_cc.sex is '性别';
comment on column t_cc.phone is '电话';
--检查员表加注释
comment on table t_cc is '检查员';

信息登记表创建语句如下:


create table t_xx(
	id integer,
	wxq 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),
	v13 varchar(100),
	v14 varchar(100),
	v15 varchar(100),
	v16 varchar(100),
	v17 varchar(100),
	v18 varchar(100)
);
--信息登记字段加注释
comment on column t_xx.id is '主键';
comment on column t_xx.wxq is '维修区';
comment on column t_xx.v1 is '班次';
comment on column t_xx.v2 is '日期';
comment on column t_xx.v3 is '时间段';
comment on column t_xx.v4 is '白班夜班';
comment on column t_xx.v5 is '车号';
comment on column t_xx.v6 is '属性';
comment on column t_xx.v7 is '预约到达时间';
comment on column t_xx.v8 is '实际到达时间';
comment on column t_xx.v9 is '检修结束时间';
comment on column t_xx.v10 is '归属地A';
comment on column t_xx.v11 is '归属地B';
comment on column t_xx.v12 is '车号核对';
comment on column t_xx.v13 is '机油结束';
comment on column t_xx.v14 is '发动机结束';
comment on column t_xx.v15 is '机滤结束';
comment on column t_xx.v16 is '空调结束';
comment on column t_xx.v17 is '清洁结束';
comment on column t_xx.v18 is '记事';
--信息登记表加注释
comment on table t_xx is '信息登记';

oracle特有,对应序列如下:


create sequence s_t_aa;
create sequence s_t_bb;
create sequence s_t_cc;
create sequence s_t_xx;

基于SSH的汽车维修系统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_aa(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	aaName varchar(100),--登记员名称
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100)--电话
);

检修员表创建语句如下:


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

检查员表创建语句如下:


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

信息登记表创建语句如下:


--信息登记表注释
create table t_xx(
	id int identity(1,1) primary key not null,--主键
	wxq 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),--归属地A
	v11 varchar(100),--归属地B
	v12 varchar(100),--车号核对
	v13 varchar(100),--机油结束
	v14 varchar(100),--发动机结束
	v15 varchar(100),--机滤结束
	v16 varchar(100),--空调结束
	v17 varchar(100),--清洁结束
	v18 varchar(100)--记事
);

基于SSH的汽车维修系统登录后主页

基于SSH的汽车维修系统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_aa")
public class Aa {
//主键
@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 aaName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getAaName() {return aaName;}
public void setAaName(String aaName) {this.aaName = aaName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

检修员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_bb")
public class Bb {
//主键
@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 bbName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getBbName() {return bbName;}
public void setBbName(String bbName) {this.bbName = bbName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

检查员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_cc")
public class Cc {
//主键
@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 ccName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getCcName() {return ccName;}
public void setCcName(String ccName) {this.ccName = ccName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

信息登记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_xx")
public class Xx {
//主键
@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 wxq;
//班次
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;
//归属地A
private String v10;
//归属地B
private String v11;
//车号核对
private String v12;
//机油结束
private String v13;
//发动机结束
private String v14;
//机滤结束
private String v15;
//空调结束
private String v16;
//清洁结束
private String v17;
//记事
private String v18;
public String getWxq() {return wxq;}
public void setWxq(String wxq) {this.wxq = wxq;}
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 String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
public String getV15() {return v15;}
public void setV15(String v15) {this.v15 = v15;}
public String getV16() {return v16;}
public void setV16(String v16) {this.v16 = v16;}
public String getV17() {return v17;}
public void setV17(String v17) {this.v17 = v17;}
public String getV18() {return v18;}
public void setV18(String v18) {this.v18 = v18;}
}

基于SSH的汽车维修系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

登记员javaBean创建语句如下:


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

//登记员
public class Aa  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 aaName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getAaName() {return aaName;}
public void setAaName(String aaName) {this.aaName = aaName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

检修员javaBean创建语句如下:


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

//检修员
public class Bb  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 bbName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getBbName() {return bbName;}
public void setBbName(String bbName) {this.bbName = bbName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

检查员javaBean创建语句如下:


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

//检查员
public class Cc  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 ccName;
//年龄
private String age;
//性别
private String sex;
//电话
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 getCcName() {return ccName;}
public void setCcName(String ccName) {this.ccName = ccName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

信息登记javaBean创建语句如下:


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

//信息登记
public class Xx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//维修区
private String wxq;
//班次
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;
//归属地A
private String v10;
//归属地B
private String v11;
//车号核对
private String v12;
//机油结束
private String v13;
//发动机结束
private String v14;
//机滤结束
private String v15;
//空调结束
private String v16;
//清洁结束
private String v17;
//记事
private String v18;
public String getWxq() {return wxq;}
public void setWxq(String wxq) {this.wxq = wxq;}
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 String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
public String getV15() {return v15;}
public void setV15(String v15) {this.v15 = v15;}
public String getV16() {return v16;}
public void setV16(String v16) {this.v16 = v16;}
public String getV17() {return v17;}
public void setV17(String v17) {this.v17 = v17;}
public String getV18() {return v18;}
public void setV18(String v18) {this.v18 = v18;}
}

评论