1. 程式人生 > >基於SSH的企業債權管理,基於java的畢業設計

基於SSH的企業債權管理,基於java的畢業設計

**基於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_csh(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '客戶',
	v1 varchar(100) comment '催收函型別',
	v2 varchar(100) comment '是否收到',
	v3 varchar(100) comment '跟進備註',
	status varchar(100) comment '狀態',
	userId int 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 '姓名',
	phone varchar(100) comment '電話',
	sex varchar(100) comment '性別',
	age varchar(100) comment '年齡',
	ywdbr varchar(100) comment '有無擔保人',
	zc varchar(100) comment '資產',
	fz varchar(100) comment '負債',
	ywzv varchar(100) comment '有無子女',
	dwxz varchar(100) comment '單位性質',
	v1 int comment '年齡分數',
	v2 int comment '有無有無擔保人分數',
	v3 int comment '資產分數',
	v4 int comment '負債分數',
	v5 int comment '有無子女分數',
	v6 int comment '單位性質分數',
	v7 int comment '總評分'
) comment '客戶';

貸款表建立語句如下:


create table t_dk(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '客戶',
	v1 varchar(100) comment '信用評級分數',
	v2 varchar(100) comment '等級',
	v3 int comment '貸款金額',
	status varchar(100) comment '狀態',
	userId int 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 '姓名',
	phone varchar(100) comment '電話',
	sex varchar(100) comment '性別',
	age 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_csh(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	status varchar(100),
	userId int
);
--催收函欄位加註釋
comment on column t_csh.id is '主鍵';
comment on column t_csh.customerId is '客戶';
comment on column t_csh.v1 is '催收函型別';
comment on column t_csh.v2 is '是否收到';
comment on column t_csh.v3 is '跟進備註';
comment on column t_csh.status is '狀態';
comment on column t_csh.userId is '處理人';
--催收函表加註釋
comment on table t_csh is '催收函';

客戶表建立語句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	ywdbr varchar(100),
	zc varchar(100),
	fz varchar(100),
	ywzv varchar(100),
	dwxz varchar(100),
	v1 int,
	v2 int,
	v3 int,
	v4 int,
	v5 int,
	v6 int,
	v7 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.name is '姓名';
comment on column t_customer.phone is '電話';
comment on column t_customer.sex is '性別';
comment on column t_customer.age is '年齡';
comment on column t_customer.ywdbr is '有無擔保人';
comment on column t_customer.zc is '資產';
comment on column t_customer.fz is '負債';
comment on column t_customer.ywzv is '有無子女';
comment on column t_customer.dwxz is '單位性質';
comment on column t_customer.v1 is '年齡分數';
comment on column t_customer.v2 is '有無有無擔保人分數';
comment on column t_customer.v3 is '資產分數';
comment on column t_customer.v4 is '負債分數';
comment on column t_customer.v5 is '有無子女分數';
comment on column t_customer.v6 is '單位性質分數';
comment on column t_customer.v7 is '總評分';
--客戶表加註釋
comment on table t_customer is '客戶';

貸款表建立語句如下:


create table t_dk(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 int,
	status varchar(100),
	userId int
);
--貸款欄位加註釋
comment on column t_dk.id is '主鍵';
comment on column t_dk.customerId is '客戶';
comment on column t_dk.v1 is '信用評級分數';
comment on column t_dk.v2 is '等級';
comment on column t_dk.v3 is '貸款金額';
comment on column t_dk.status is '狀態';
comment on column t_dk.userId is '處理人';
--貸款表加註釋
comment on table t_dk is '貸款';

普通管理員表建立語句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age 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.phone is '電話';
comment on column t_user.sex is '性別';
comment on column t_user.age is '年齡';
--普通管理員表加註釋
comment on table t_user is '普通管理員';

oracle特有,對應序列如下:


create sequence s_t_csh;
create sequence s_t_customer;
create sequence s_t_dk;
create sequence s_t_user;

基於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_csh(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--客戶
	v1 varchar(100),--催收函型別
	v2 varchar(100),--是否收到
	v3 varchar(100),--跟進備註
	status varchar(100),--狀態
	userId int--處理人
);

客戶表建立語句如下:


--客戶表註釋
create table t_customer(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬戶
	password varchar(100),--密碼
	name varchar(100),--姓名
	phone varchar(100),--電話
	sex varchar(100),--性別
	age varchar(100),--年齡
	ywdbr varchar(100),--有無擔保人
	zc varchar(100),--資產
	fz varchar(100),--負債
	ywzv varchar(100),--有無子女
	dwxz varchar(100),--單位性質
	v1 int,--年齡分數
	v2 int,--有無有無擔保人分數
	v3 int,--資產分數
	v4 int,--負債分數
	v5 int,--有無子女分數
	v6 int,--單位性質分數
	v7 int--總評分
);

貸款表建立語句如下:


--貸款表註釋
create table t_dk(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--客戶
	v1 varchar(100),--信用評級分數
	v2 varchar(100),--等級
	v3 int,--貸款金額
	status varchar(100),--狀態
	userId int--處理人
);

普通管理員表建立語句如下:


--普通管理員表註釋
create table t_user(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬戶
	password varchar(100),--密碼
	name varchar(100),--姓名
	phone varchar(100),--電話
	sex varchar(100),--性別
	age 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_csh")
public class Csh {
//主鍵
@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 v2;
//跟進備註
private String v3;
//狀態
private String status;
//處理人
private Integer userId;
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 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 getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

客戶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 phone;
//性別
private String sex;
//年齡
private String age;
//有無擔保人
private String ywdbr;
//資產
private String zc;
//負債
private String fz;
//有無子女
private String ywzv;
//單位性質
private String dwxz;
//年齡分數
private Integer v1;
//有無有無擔保人分數
private Integer v2;
//資產分數
private Integer v3;
//負債分數
private Integer v4;
//有無子女分數
private Integer v5;
//單位性質分數
private Integer v6;
//總評分
private Integer v7;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getYwdbr() {return ywdbr;}
public void setYwdbr(String ywdbr) {this.ywdbr = ywdbr;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public String getFz() {return fz;}
public void setFz(String fz) {this.fz = fz;}
public String getYwzv() {return ywzv;}
public void setYwzv(String ywzv) {this.ywzv = ywzv;}
public String getDwxz() {return dwxz;}
public void setDwxz(String dwxz) {this.dwxz = dwxz;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
public Integer getV5() {return v5;}
public void setV5(Integer v5) {this.v5 = v5;}
public Integer getV6() {return v6;}
public void setV6(Integer v6) {this.v6 = v6;}
public Integer getV7() {return v7;}
public void setV7(Integer v7) {this.v7 = v7;}
}

貸款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_dk")
public class Dk {
//主鍵
@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 v2;
//貸款金額
private Integer v3;
//狀態
private String status;
//處理人
private Integer userId;
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 getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

普通管理員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 phone;
//性別
private String sex;
//年齡
private String age;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}

基於SSH的企業債權管理spring springMVC mybatis框架物件(javaBean,pojo)設計:

催收函javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//催收函
public class Csh  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 v2;
//跟進備註
private String v3;
//狀態
private String status;
//處理人
private Integer userId;
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 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 getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

客戶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 phone;
//性別
private String sex;
//年齡
private String age;
//有無擔保人
private String ywdbr;
//資產
private String zc;
//負債
private String fz;
//有無子女
private String ywzv;
//單位性質
private String dwxz;
//年齡分數
private Integer v1;
//有無有無擔保人分數
private Integer v2;
//資產分數
private Integer v3;
//負債分數
private Integer v4;
//有無子女分數
private Integer v5;
//單位性質分數
private Integer v6;
//總評分
private Integer v7;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getYwdbr() {return ywdbr;}
public void setYwdbr(String ywdbr) {this.ywdbr = ywdbr;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public String getFz() {return fz;}
public void setFz(String fz) {this.fz = fz;}
public String getYwzv() {return ywzv;}
public void setYwzv(String ywzv) {this.ywzv = ywzv;}
public String getDwxz() {return dwxz;}
public void setDwxz(String dwxz) {this.dwxz = dwxz;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
public Integer getV5() {return v5;}
public void setV5(Integer v5) {this.v5 = v5;}
public Integer getV6() {return v6;}
public void setV6(Integer v6) {this.v6 = v6;}
public Integer getV7() {return v7;}
public void setV7(Integer v7) {this.v7 = v7;}
}

貸款javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//貸款
public class Dk  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 v2;
//貸款金額
private Integer v3;
//狀態
private String status;
//處理人
private Integer userId;
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 getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

普通管理員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 phone;
//性別
private String sex;
//年齡
private String age;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}