基于WEB的供应链金融系统,java项目设计

基于WEB的供应链金融系统登录注册界面

基于WEB的供应链金融系统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_jrjg(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	jrjgName varchar(100) comment '金融机构名称',
	address varchar(100) comment '地址'
) comment '金融机构';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	orderNumber varchar(100) comment '订单号',
	fromId int comment '订货商',
	fromDate datetime comment '发起日期',
	toId int comment '供应商',
	v1 varchar(100) comment '货物类型',
	v2 int comment '单价',
	v3 int comment '数量',
	v4 int comment '总价',
	status varchar(100) comment '状态',
	dkId int comment '贷款银行',
	sqed int comment '贷款额度',
	dkStatus varchar(100) comment '贷款状态',
	dkDate datetime comment '贷款申请日期',
	dkqdDate datetime comment '贷款审核日期',
	fromConFirm varchar(100) comment '订货商确定',
	fromConFirmDate datetime comment '订货商确定日期',
	fromConFirmContent varchar(100) comment '订货商确定备注'
) comment '订单';

企业表创建语句如下:


create table t_qy(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	qyName varchar(100) comment '企业名称',
	address varchar(100) comment '地址',
	xypj varchar(100) comment '信用评级'
) comment '企业';

基于WEB的供应链金融系统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_jrjg(
	id integer,
	username varchar(100),
	password varchar(100),
	jrjgName varchar(100),
	address varchar(100)
);
--金融机构字段加注释
comment on column t_jrjg.id is '主键';
comment on column t_jrjg.username is '账号';
comment on column t_jrjg.password is '密码';
comment on column t_jrjg.jrjgName is '金融机构名称';
comment on column t_jrjg.address is '地址';
--金融机构表加注释
comment on table t_jrjg is '金融机构';

订单表创建语句如下:


create table t_order(
	id integer,
	orderNumber varchar(100),
	fromId int,
	fromDate datetime,
	toId int,
	v1 varchar(100),
	v2 int,
	v3 int,
	v4 int,
	status varchar(100),
	dkId int,
	sqed int,
	dkStatus varchar(100),
	dkDate datetime,
	dkqdDate datetime,
	fromConFirm varchar(100),
	fromConFirmDate datetime,
	fromConFirmContent varchar(100)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.orderNumber is '订单号';
comment on column t_order.fromId is '订货商';
comment on column t_order.fromDate is '发起日期';
comment on column t_order.toId is '供应商';
comment on column t_order.v1 is '货物类型';
comment on column t_order.v2 is '单价';
comment on column t_order.v3 is '数量';
comment on column t_order.v4 is '总价';
comment on column t_order.status is '状态';
comment on column t_order.dkId is '贷款银行';
comment on column t_order.sqed is '贷款额度';
comment on column t_order.dkStatus is '贷款状态';
comment on column t_order.dkDate is '贷款申请日期';
comment on column t_order.dkqdDate is '贷款审核日期';
comment on column t_order.fromConFirm is '订货商确定';
comment on column t_order.fromConFirmDate is '订货商确定日期';
comment on column t_order.fromConFirmContent is '订货商确定备注';
--订单表加注释
comment on table t_order is '订单';

企业表创建语句如下:


create table t_qy(
	id integer,
	username varchar(100),
	password varchar(100),
	qyName varchar(100),
	address varchar(100),
	xypj varchar(100)
);
--企业字段加注释
comment on column t_qy.id is '主键';
comment on column t_qy.username is '账号';
comment on column t_qy.password is '密码';
comment on column t_qy.qyName is '企业名称';
comment on column t_qy.address is '地址';
comment on column t_qy.xypj is '信用评级';
--企业表加注释
comment on table t_qy is '企业';

oracle特有,对应序列如下:


create sequence s_t_jrjg;
create sequence s_t_order;
create sequence s_t_qy;

基于WEB的供应链金融系统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_jrjg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	jrjgName varchar(100),--金融机构名称
	address varchar(100)--地址
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	orderNumber varchar(100),--订单号
	fromId int,--订货商
	fromDate datetime,--发起日期
	toId int,--供应商
	v1 varchar(100),--货物类型
	v2 int,--单价
	v3 int,--数量
	v4 int,--总价
	status varchar(100),--状态
	dkId int,--贷款银行
	sqed int,--贷款额度
	dkStatus varchar(100),--贷款状态
	dkDate datetime,--贷款申请日期
	dkqdDate datetime,--贷款审核日期
	fromConFirm varchar(100),--订货商确定
	fromConFirmDate datetime,--订货商确定日期
	fromConFirmContent varchar(100)--订货商确定备注
);

企业表创建语句如下:


--企业表注释
create table t_qy(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	qyName varchar(100),--企业名称
	address varchar(100),--地址
	xypj varchar(100)--信用评级
);

基于WEB的供应链金融系统登录后主页

基于WEB的供应链金融系统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_jrjg")
public class Jrjg {
//主键
@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 jrjgName;
//地址
private String address;
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 getJrjgName() {return jrjgName;}
public void setJrjgName(String jrjgName) {this.jrjgName = jrjgName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

订单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 String orderNumber;
//订货商
private Integer fromId;
//发起日期
private Date fromDate;
//供应商
private Integer toId;
//货物类型
private String v1;
//单价
private Integer v2;
//数量
private Integer v3;
//总价
private Integer v4;
//状态
private String status;
//贷款银行
private Integer dkId;
//贷款额度
private Integer sqed;
//贷款状态
private String dkStatus;
//贷款申请日期
private Date dkDate;
//贷款审核日期
private Date dkqdDate;
//订货商确定
private String fromConFirm;
//订货商确定日期
private Date fromConFirmDate;
//订货商确定备注
private String fromConFirmContent;
public String getOrderNumber() {return orderNumber;}
public void setOrderNumber(String orderNumber) {this.orderNumber = orderNumber;}
public Integer getFromId() {return fromId;}
public void setFromId(Integer fromId) {this.fromId = fromId;}
public Date getFromDate() {return fromDate;}
public void setFromDate(Date fromDate) {this.fromDate = fromDate;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getV1() {return v1;}
public void setV1(String 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 String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getDkId() {return dkId;}
public void setDkId(Integer dkId) {this.dkId = dkId;}
public Integer getSqed() {return sqed;}
public void setSqed(Integer sqed) {this.sqed = sqed;}
public String getDkStatus() {return dkStatus;}
public void setDkStatus(String dkStatus) {this.dkStatus = dkStatus;}
public Date getDkDate() {return dkDate;}
public void setDkDate(Date dkDate) {this.dkDate = dkDate;}
public Date getDkqdDate() {return dkqdDate;}
public void setDkqdDate(Date dkqdDate) {this.dkqdDate = dkqdDate;}
public String getFromConFirm() {return fromConFirm;}
public void setFromConFirm(String fromConFirm) {this.fromConFirm = fromConFirm;}
public Date getFromConFirmDate() {return fromConFirmDate;}
public void setFromConFirmDate(Date fromConFirmDate) {this.fromConFirmDate = fromConFirmDate;}
public String getFromConFirmContent() {return fromConFirmContent;}
public void setFromConFirmContent(String fromConFirmContent) {this.fromConFirmContent = fromConFirmContent;}
}

企业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_qy")
public class Qy {
//主键
@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 qyName;
//地址
private String address;
//信用评级
private String xypj;
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 getQyName() {return qyName;}
public void setQyName(String qyName) {this.qyName = qyName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getXypj() {return xypj;}
public void setXypj(String xypj) {this.xypj = xypj;}
}

基于WEB的供应链金融系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

金融机构javaBean创建语句如下:


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

//金融机构
public class Jrjg  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 jrjgName;
//地址
private String address;
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 getJrjgName() {return jrjgName;}
public void setJrjgName(String jrjgName) {this.jrjgName = jrjgName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

订单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 String orderNumber;
//订货商
private Integer fromId;
//发起日期
private Date fromDate;
//供应商
private Integer toId;
//货物类型
private String v1;
//单价
private Integer v2;
//数量
private Integer v3;
//总价
private Integer v4;
//状态
private String status;
//贷款银行
private Integer dkId;
//贷款额度
private Integer sqed;
//贷款状态
private String dkStatus;
//贷款申请日期
private Date dkDate;
//贷款审核日期
private Date dkqdDate;
//订货商确定
private String fromConFirm;
//订货商确定日期
private Date fromConFirmDate;
//订货商确定备注
private String fromConFirmContent;
public String getOrderNumber() {return orderNumber;}
public void setOrderNumber(String orderNumber) {this.orderNumber = orderNumber;}
public Integer getFromId() {return fromId;}
public void setFromId(Integer fromId) {this.fromId = fromId;}
public Date getFromDate() {return fromDate;}
public void setFromDate(Date fromDate) {this.fromDate = fromDate;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getV1() {return v1;}
public void setV1(String 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 String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getDkId() {return dkId;}
public void setDkId(Integer dkId) {this.dkId = dkId;}
public Integer getSqed() {return sqed;}
public void setSqed(Integer sqed) {this.sqed = sqed;}
public String getDkStatus() {return dkStatus;}
public void setDkStatus(String dkStatus) {this.dkStatus = dkStatus;}
public Date getDkDate() {return dkDate;}
public void setDkDate(Date dkDate) {this.dkDate = dkDate;}
public Date getDkqdDate() {return dkqdDate;}
public void setDkqdDate(Date dkqdDate) {this.dkqdDate = dkqdDate;}
public String getFromConFirm() {return fromConFirm;}
public void setFromConFirm(String fromConFirm) {this.fromConFirm = fromConFirm;}
public Date getFromConFirmDate() {return fromConFirmDate;}
public void setFromConFirmDate(Date fromConFirmDate) {this.fromConFirmDate = fromConFirmDate;}
public String getFromConFirmContent() {return fromConFirmContent;}
public void setFromConFirmContent(String fromConFirmContent) {this.fromConFirmContent = fromConFirmContent;}
}

企业javaBean创建语句如下:


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

//企业
public class Qy  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 qyName;
//地址
private String address;
//信用评级
private String xypj;
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 getQyName() {return qyName;}
public void setQyName(String qyName) {this.qyName = qyName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getXypj() {return xypj;}
public void setXypj(String xypj) {this.xypj = xypj;}
}

评论