基于spring互联网支付系统的设计,javaweb课程设计

基于spring互联网支付系统的设计登录注册界面

基于spring互联网支付系统的设计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_ck(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '存款说明',
	v3 varchar(100) comment '存款对象',
	je int 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 '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	address varchar(100) comment '地址',
	idcard varchar(100) comment '身份证',
	account int comment '我的金额'
) comment '用户';

缴费业务表创建语句如下:


create table t_jf(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	ywName varchar(100) comment '业务名称',
	je int comment '金额',
	insertDate datetime comment '日期'
) comment '缴费业务';

日志表创建语句如下:


create table t_log(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	types varchar(100) comment '类型',
	insertDate datetime comment '日期',
	je int comment '金额'
) comment '日志';

取款表创建语句如下:


create table t_qk(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '取款说明',
	je int comment '存款金额',
	insertDate datetime comment '日期'
) comment '取款';

业务表创建语句如下:


create table t_yw(
	id int primary key auto_increment comment '主键',
	ywName varchar(100) comment '业务名称',
	je int comment '金额'
) comment '业务';

基于spring互联网支付系统的设计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_ck(
	id integer,
	customerId int,
	v1 varchar(100),
	v3 varchar(100),
	je int,
	insertDate datetime
);
--存款字段加注释
comment on column t_ck.id is '主键';
comment on column t_ck.customerId is '用户';
comment on column t_ck.v1 is '存款说明';
comment on column t_ck.v3 is '存款对象';
comment on column t_ck.je is '存款金额';
comment on column t_ck.insertDate is '日期';
--存款表加注释
comment on table t_ck is '存款';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100),
	idcard varchar(100),
	account 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.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.address is '地址';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.account is '我的金额';
--用户表加注释
comment on table t_customer is '用户';

缴费业务表创建语句如下:


create table t_jf(
	id integer,
	customerId int,
	ywName varchar(100),
	je int,
	insertDate datetime
);
--缴费业务字段加注释
comment on column t_jf.id is '主键';
comment on column t_jf.customerId is '用户';
comment on column t_jf.ywName is '业务名称';
comment on column t_jf.je is '金额';
comment on column t_jf.insertDate is '日期';
--缴费业务表加注释
comment on table t_jf is '缴费业务';

日志表创建语句如下:


create table t_log(
	id integer,
	customerId int,
	types varchar(100),
	insertDate datetime,
	je int
);
--日志字段加注释
comment on column t_log.id is '主键';
comment on column t_log.customerId is '用户';
comment on column t_log.types is '类型';
comment on column t_log.insertDate is '日期';
comment on column t_log.je is '金额';
--日志表加注释
comment on table t_log is '日志';

取款表创建语句如下:


create table t_qk(
	id integer,
	customerId int,
	v1 varchar(100),
	je int,
	insertDate datetime
);
--取款字段加注释
comment on column t_qk.id is '主键';
comment on column t_qk.customerId is '用户';
comment on column t_qk.v1 is '取款说明';
comment on column t_qk.je is '存款金额';
comment on column t_qk.insertDate is '日期';
--取款表加注释
comment on table t_qk is '取款';

业务表创建语句如下:


create table t_yw(
	id integer,
	ywName varchar(100),
	je int
);
--业务字段加注释
comment on column t_yw.id is '主键';
comment on column t_yw.ywName is '业务名称';
comment on column t_yw.je is '金额';
--业务表加注释
comment on table t_yw is '业务';

oracle特有,对应序列如下:


create sequence s_t_ck;
create sequence s_t_customer;
create sequence s_t_jf;
create sequence s_t_log;
create sequence s_t_qk;
create sequence s_t_yw;

基于spring互联网支付系统的设计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_ck(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--存款说明
	v3 varchar(100),--存款对象
	je int,--存款金额
	insertDate datetime--日期
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	address varchar(100),--地址
	idcard varchar(100),--身份证
	account int--我的金额
);

缴费业务表创建语句如下:


--缴费业务表注释
create table t_jf(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	ywName varchar(100),--业务名称
	je int,--金额
	insertDate datetime--日期
);

日志表创建语句如下:


--日志表注释
create table t_log(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	types varchar(100),--类型
	insertDate datetime,--日期
	je int--金额
);

取款表创建语句如下:


--取款表注释
create table t_qk(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--取款说明
	je int,--存款金额
	insertDate datetime--日期
);

业务表创建语句如下:


--业务表注释
create table t_yw(
	id int identity(1,1) primary key not null,--主键
	ywName varchar(100),--业务名称
	je int--金额
);

基于spring互联网支付系统的设计登录后主页

基于spring互联网支付系统的设计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_ck")
public class Ck {
//主键
@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 v1;
//存款对象
private String v3;
//存款金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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 age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
//身份证
private String idcard;
//我的金额
private Integer account;
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 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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
}

缴费业务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_jf")
public class Jf {
//主键
@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 ywName;
//金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getYwName() {return ywName;}
public void setYwName(String ywName) {this.ywName = ywName;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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_log")
public class Log {
//主键
@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 types;
//日期
private Date insertDate;
//金额
private Integer je;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

取款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_qk")
public class Qk {
//主键
@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 v1;
//存款金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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_yw")
public class Yw {
//主键
@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 ywName;
//金额
private Integer je;
public String getYwName() {return ywName;}
public void setYwName(String ywName) {this.ywName = ywName;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

基于spring互联网支付系统的设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

存款javaBean创建语句如下:


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

//存款
public class Ck  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//存款说明
private String v1;
//存款对象
private String v3;
//存款金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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 age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
//身份证
private String idcard;
//我的金额
private Integer account;
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 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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
}

缴费业务javaBean创建语句如下:


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

//缴费业务
public class Jf  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//业务名称
private String ywName;
//金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getYwName() {return ywName;}
public void setYwName(String ywName) {this.ywName = ywName;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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 Log  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//类型
private String types;
//日期
private Date insertDate;
//金额
private Integer je;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

取款javaBean创建语句如下:


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

//取款
public class Qk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//取款说明
private String v1;
//存款金额
private Integer je;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
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 Yw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//业务名称
private String ywName;
//金额
private Integer je;
public String getYwName() {return ywName;}
public void setYwName(String ywName) {this.ywName = ywName;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

源代码下载点这里

评论