- 银行大客户关系维护系统mysql数据库创建语句
- 银行大客户关系维护系统oracle数据库创建语句
- 银行大客户关系维护系统sqlserver数据库创建语句
- 银行大客户关系维护系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计
- 银行大客户关系维护系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计
银行大客户关系维护系统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_dbsx(
id int primary key auto_increment comment '主键',
title varchar(100) comment '标题',
content text comment '内容',
dbDate datetime comment '代办日期',
status varchar(100) comment '状态',
customerId int comment '员工'
) comment '代办事项';
客户表创建语句如下:
create table t_kh(
id int primary key auto_increment comment '主键',
khName varchar(100) comment '姓名',
phone varchar(100) comment '电话',
age varchar(100) comment '年龄',
sex varchar(100) comment '',
cs varchar(100) comment '出生',
email varchar(100) comment '邮箱',
khzh varchar(100) comment '开户账号',
status varchar(100) comment '',
bz varchar(100) comment '',
customerId int comment '所属客户经理'
) comment '客户';
经办业务表创建语句如下:
create table t_yw(
id int primary key auto_increment comment '主键',
ywlx varchar(100) comment '',
customerId int comment '经办人',
showDate datetime comment '经办日期',
content text comment '详细内容',
pic varchar(100) comment '拍照',
zjje int comment '涉及金额'
) comment '经办业务';
银行大客户关系维护系统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_dbsx(
id integer,
title varchar(100),
content text,
dbDate datetime,
status varchar(100),
customerId int
);
--代办事项字段加注释
comment on column t_dbsx.id is '主键';
comment on column t_dbsx.title is '标题';
comment on column t_dbsx.content is '内容';
comment on column t_dbsx.dbDate is '代办日期';
comment on column t_dbsx.status is '状态';
comment on column t_dbsx.customerId is '员工';
--代办事项表加注释
comment on table t_dbsx is '代办事项';
客户表创建语句如下:
create table t_kh(
id integer,
khName varchar(100),
phone varchar(100),
age varchar(100),
sex varchar(100),
cs varchar(100),
email varchar(100),
khzh varchar(100),
status varchar(100),
bz varchar(100),
customerId int
);
--客户字段加注释
comment on column t_kh.id is '主键';
comment on column t_kh.khName is '姓名';
comment on column t_kh.phone is '电话';
comment on column t_kh.age is '年龄';
comment on column t_kh.sex is '';
comment on column t_kh.cs is '出生';
comment on column t_kh.email is '邮箱';
comment on column t_kh.khzh is '开户账号';
comment on column t_kh.status is '';
comment on column t_kh.bz is '';
comment on column t_kh.customerId is '所属客户经理';
--客户表加注释
comment on table t_kh is '客户';
经办业务表创建语句如下:
create table t_yw(
id integer,
ywlx varchar(100),
customerId int,
showDate datetime,
content text,
pic varchar(100),
zjje int
);
--经办业务字段加注释
comment on column t_yw.id is '主键';
comment on column t_yw.ywlx is '';
comment on column t_yw.customerId is '经办人';
comment on column t_yw.showDate is '经办日期';
comment on column t_yw.content is '详细内容';
comment on column t_yw.pic is '拍照';
comment on column t_yw.zjje is '涉及金额';
--经办业务表加注释
comment on table t_yw is '经办业务';
oracle特有,对应序列如下:
create sequence s_t_dbsx;
create sequence s_t_kh;
create sequence s_t_yw;
银行大客户关系维护系统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_dbsx(
id int identity(1,1) primary key not null,--主键
title varchar(100),--标题
content text,--内容
dbDate datetime,--代办日期
status varchar(100),--状态
customerId int--员工
);
客户表创建语句如下:
--客户表注释
create table t_kh(
id int identity(1,1) primary key not null,--主键
khName varchar(100),--姓名
phone varchar(100),--电话
age varchar(100),--年龄
sex varchar(100),--
cs varchar(100),--出生
email varchar(100),--邮箱
khzh varchar(100),--开户账号
status varchar(100),--
bz varchar(100),--
customerId int--所属客户经理
);
经办业务表创建语句如下:
--经办业务表注释
create table t_yw(
id int identity(1,1) primary key not null,--主键
ywlx varchar(100),--
customerId int,--经办人
showDate datetime,--经办日期
content text,--详细内容
pic varchar(100),--拍照
zjje int--涉及金额
);
银行大客户关系维护系统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_dbsx")
public class Dbsx {
//主键
@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 title;
//内容
private String content;
//代办日期
private Date dbDate;
//状态
private String status;
//员工
private Long customerId;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getDbDate() {return dbDate;}
public void setDbDate(Date dbDate) {this.dbDate = dbDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
客户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_kh")
public class Kh {
//主键
@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 khName;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
//出生
private String cs;
//邮箱
private String email;
//开户账号
private String khzh;
//
private String status;
//
private String bz;
//所属客户经理
private Long customerId;
public String getKhName() {return khName;}
public void setKhName(String khName) {this.khName = khName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getCs() {return cs;}
public void setCs(String cs) {this.cs = cs;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getKhzh() {return khzh;}
public void setKhzh(String khzh) {this.khzh = khzh;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
经办业务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 ywlx;
//经办人
private Long customerId;
//经办日期
private Date showDate;
//详细内容
private String content;
//拍照
private String pic;
//涉及金额
private Integer zjje;
public String getYwlx() {return ywlx;}
public void setYwlx(String ywlx) {this.ywlx = ywlx;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getZjje() {return zjje;}
public void setZjje(Integer zjje) {this.zjje = zjje;}
}
银行大客户关系维护系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:
代办事项javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//代办事项
public class Dbsx extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//代办日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date dbDate;
//状态
private String status;
//员工
private Long customerId;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getDbDate() {return dbDate;}
public void setDbDate(Date dbDate) {this.dbDate = dbDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
客户javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//客户
public class Kh extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String khName;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
//出生
@DateTimeFormat(pattern = "yyyy-MM-dd")
private String cs;
//邮箱
private String email;
//开户账号
private String khzh;
//
private String status;
//
private String bz;
//所属客户经理
private Long customerId;
public String getKhName() {return khName;}
public void setKhName(String khName) {this.khName = khName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getCs() {return cs;}
public void setCs(String cs) {this.cs = cs;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getKhzh() {return khzh;}
public void setKhzh(String khzh) {this.khzh = khzh;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
}
经办业务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 ywlx;
//经办人
private Long customerId;
//经办日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
//详细内容
private String content;
//拍照
private String pic;
//涉及金额
private Integer zjje;
public String getYwlx() {return ywlx;}
public void setYwlx(String ywlx) {this.ywlx = ywlx;}
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getZjje() {return zjje;}
public void setZjje(Integer zjje) {this.zjje = zjje;}
}