基于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_bl(
	id int primary key auto_increment comment '主键',
	ygId int 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 '住址'
) comment '病历';

病情建议表创建语句如下:


create table t_bqjy(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '病情名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容'
) comment '病情建议';

健康档案表创建语句如下:


create table t_da(
	id int primary key auto_increment comment '主键',
	ygId int 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 '备注'
) comment '健康档案';

体检表表创建语句如下:


create table t_tjb(
	id int primary key auto_increment 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 '脉搏',
	v11 varchar(100) comment '肺部',
	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 '身高',
	v19 varchar(100) comment '体重',
	v20 varchar(100) comment '体重指数'
) comment '体检表';

通知表创建语句如下:


create table t_tongzhi(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '标题',
	v2 varchar(100) comment '内容',
	v3 varchar(100) comment '日期',
	v4 varchar(100) comment '图片'
) comment '通知';

学院表创建语句如下:


create table t_xy(
	id int primary key auto_increment comment '主键',
	xyName varchar(100) comment '学院名称',
	v1 varchar(100) comment '学院领导',
	v2 varchar(100) comment '学院邮箱',
	v3 varchar(100) comment '学院图片',
	v4 varchar(100) comment '学院宗旨'
) comment '学院';

教职工表创建语句如下:


create table t_yg(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	ygName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	xyId int comment '学院',
	status 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_bl(
	id integer,
	ygId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100)
);
--病历字段加注释
comment on column t_bl.id is '主键';
comment on column t_bl.ygId is '教职工';
comment on column t_bl.v1 is '看病日期';
comment on column t_bl.v2 is '看病病情';
comment on column t_bl.v3 is '备注';
comment on column t_bl.v4 is '看病医院';
comment on column t_bl.v5 is '诊断结果';
comment on column t_bl.v6 is '电话';
comment on column t_bl.v7 is '住址';
--病历表加注释
comment on table t_bl is '病历';

病情建议表创建语句如下:


create table t_bqjy(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100)
);
--病情建议字段加注释
comment on column t_bqjy.id is '主键';
comment on column t_bqjy.title is '病情名称';
comment on column t_bqjy.pic is '图片';
comment on column t_bqjy.content is '内容';
--病情建议表加注释
comment on table t_bqjy is '病情建议';

健康档案表创建语句如下:


create table t_da(
	id integer,
	ygId int,
	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)
);
--健康档案字段加注释
comment on column t_da.id is '主键';
comment on column t_da.ygId is '教职工';
comment on column t_da.v1 is '检查日期';
comment on column t_da.v2 is '五官';
comment on column t_da.v3 is '心脏';
comment on column t_da.v4 is '肺部';
comment on column t_da.v5 is '手足部';
comment on column t_da.v6 is '听力';
comment on column t_da.v7 is '血液';
comment on column t_da.v8 is '心里疾病';
comment on column t_da.v9 is '备注';
--健康档案表加注释
comment on table t_da is '健康档案';

体检表表创建语句如下:


create table t_tjb(
	id integer,
	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),
	v19 varchar(100),
	v20 varchar(100)
);
--体检表字段加注释
comment on column t_tjb.id is '主键';
comment on column t_tjb.v1 is '单位';
comment on column t_tjb.v2 is '身份证号码';
comment on column t_tjb.v3 is '姓名';
comment on column t_tjb.v4 is '性别';
comment on column t_tjb.v5 is '年龄';
comment on column t_tjb.v6 is '既往史';
comment on column t_tjb.v7 is '家族史';
comment on column t_tjb.v8 is '过敏史';
comment on column t_tjb.v9 is '血压';
comment on column t_tjb.v10 is '脉搏';
comment on column t_tjb.v11 is '肺部';
comment on column t_tjb.v12 is '心脏';
comment on column t_tjb.v13 is '胸廓';
comment on column t_tjb.v14 is '皮肤';
comment on column t_tjb.v15 is '淋巴结';
comment on column t_tjb.v16 is '脊椎四肢';
comment on column t_tjb.v17 is '诊断结果';
comment on column t_tjb.v18 is '身高';
comment on column t_tjb.v19 is '体重';
comment on column t_tjb.v20 is '体重指数';
--体检表表加注释
comment on table t_tjb is '体检表';

通知表创建语句如下:


create table t_tongzhi(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--通知字段加注释
comment on column t_tongzhi.id is '主键';
comment on column t_tongzhi.v1 is '标题';
comment on column t_tongzhi.v2 is '内容';
comment on column t_tongzhi.v3 is '日期';
comment on column t_tongzhi.v4 is '图片';
--通知表加注释
comment on table t_tongzhi is '通知';

学院表创建语句如下:


create table t_xy(
	id integer,
	xyName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--学院字段加注释
comment on column t_xy.id is '主键';
comment on column t_xy.xyName is '学院名称';
comment on column t_xy.v1 is '学院领导';
comment on column t_xy.v2 is '学院邮箱';
comment on column t_xy.v3 is '学院图片';
comment on column t_xy.v4 is '学院宗旨';
--学院表加注释
comment on table t_xy is '学院';

教职工表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	xyId int,
	status varchar(100)
);
--教职工字段加注释
comment on column t_yg.id is '主键';
comment on column t_yg.username is '账号';
comment on column t_yg.password is '密码';
comment on column t_yg.ygName is '姓名';
comment on column t_yg.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.phone is '电话';
comment on column t_yg.xyId is '学院';
comment on column t_yg.status is '是否在职';
--教职工表加注释
comment on table t_yg is '教职工';

oracle特有,对应序列如下:


create sequence s_t_bl;
create sequence s_t_bqjy;
create sequence s_t_da;
create sequence s_t_tjb;
create sequence s_t_tongzhi;
create sequence s_t_xy;
create sequence s_t_yg;

基于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_bl(
	id int identity(1,1) primary key not null,--主键
	ygId int,--教职工
	v1 varchar(100),--看病日期
	v2 varchar(100),--看病病情
	v3 varchar(100),--备注
	v4 varchar(100),--看病医院
	v5 varchar(100),--诊断结果
	v6 varchar(100),--电话
	v7 varchar(100)--住址
);

病情建议表创建语句如下:


--病情建议表注释
create table t_bqjy(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--病情名称
	pic varchar(100),--图片
	content varchar(100)--内容
);

健康档案表创建语句如下:


--健康档案表注释
create table t_da(
	id int identity(1,1) primary key not null,--主键
	ygId int,--教职工
	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)--备注
);

体检表表创建语句如下:


--体检表表注释
create table t_tjb(
	id int identity(1,1) primary key not null,--主键
	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),--身高
	v19 varchar(100),--体重
	v20 varchar(100)--体重指数
);

通知表创建语句如下:


--通知表注释
create table t_tongzhi(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--标题
	v2 varchar(100),--内容
	v3 varchar(100),--日期
	v4 varchar(100)--图片
);

学院表创建语句如下:


--学院表注释
create table t_xy(
	id int identity(1,1) primary key not null,--主键
	xyName varchar(100),--学院名称
	v1 varchar(100),--学院领导
	v2 varchar(100),--学院邮箱
	v3 varchar(100),--学院图片
	v4 varchar(100)--学院宗旨
);

教职工表创建语句如下:


--教职工表注释
create table t_yg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	ygName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	xyId int,--学院
	status 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_bl")
public class Bl {
//主键
@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 ygId;
//看病日期
private String v1;
//看病病情
private String v2;
//备注
private String v3;
//看病医院
private String v4;
//诊断结果
private String v5;
//电话
private String v6;
//住址
private String v7;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
}

病情建议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_bqjy")
public class Bqjy {
//主键
@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 pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

健康档案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_da")
public class Da {
//主键
@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 ygId;
//检查日期
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;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
}

体检表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_tjb")
public class Tjb {
//主键
@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 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;
//脉搏
private String v10;
//肺部
private String v11;
//心脏
private String v12;
//胸廓
private String v13;
//皮肤
private String v14;
//淋巴结
private String v15;
//脊椎四肢
private String v16;
//诊断结果
private String v17;
//身高
private String v18;
//体重
private String v19;
//体重指数
private String v20;
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;}
public String getV19() {return v19;}
public void setV19(String v19) {this.v19 = v19;}
public String getV20() {return v20;}
public void setV20(String v20) {this.v20 = v20;}
}

通知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_tongzhi")
public class Tongzhi {
//主键
@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 v1;
//内容
private String v2;
//日期
private String v3;
//图片
private String v4;
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;}
}

学院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_xy")
public class Xy {
//主键
@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 xyName;
//学院领导
private String v1;
//学院邮箱
private String v2;
//学院图片
private String v3;
//学院宗旨
private String v4;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
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;}
}

教职工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_yg")
public class Yg {
//主键
@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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//学院
private Integer xyId;
//是否在职
private String status;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
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 Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

基于WEB的教职工健康档案管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

病历javaBean创建语句如下:


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

//病历
public class Bl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教职工
private Integer ygId;
//看病日期
private String v1;
//看病病情
private String v2;
//备注
private String v3;
//看病医院
private String v4;
//诊断结果
private String v5;
//电话
private String v6;
//住址
private String v7;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
}

病情建议javaBean创建语句如下:


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

//病情建议
public class Bqjy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//病情名称
private String title;
//图片
private String pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

健康档案javaBean创建语句如下:


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

//健康档案
public class Da  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教职工
private Integer ygId;
//检查日期
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;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
}

体检表javaBean创建语句如下:


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

//体检表
public class Tjb  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//单位
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;
//脉搏
private String v10;
//肺部
private String v11;
//心脏
private String v12;
//胸廓
private String v13;
//皮肤
private String v14;
//淋巴结
private String v15;
//脊椎四肢
private String v16;
//诊断结果
private String v17;
//身高
private String v18;
//体重
private String v19;
//体重指数
private String v20;
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;}
public String getV19() {return v19;}
public void setV19(String v19) {this.v19 = v19;}
public String getV20() {return v20;}
public void setV20(String v20) {this.v20 = v20;}
}

通知javaBean创建语句如下:


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

//通知
public class Tongzhi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String v1;
//内容
private String v2;
//日期
private String v3;
//图片
private String v4;
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;}
}

学院javaBean创建语句如下:


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

//学院
public class Xy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学院名称
private String xyName;
//学院领导
private String v1;
//学院邮箱
private String v2;
//学院图片
private String v3;
//学院宗旨
private String v4;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
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;}
}

教职工javaBean创建语句如下:


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

//教职工
public class Yg  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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//学院
private Integer xyId;
//是否在职
private String status;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
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 Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

源代码下载点这里

评论