高校教研室事务管理系统

高校教研室事务管理系统
高校教研室事务管理系统登录注册界面

高校教研室事务管理系统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_jskc(
	id int primary key auto_increment comment '主键',
	teacherId int comment '教师',
	kcName varchar(100) comment '课程名称',
	kcDate datetime comment '课程日期',
	v1 varchar(100) comment '第几周',
	v2 varchar(100) comment '周几',
	v3 varchar(100) comment '第几节'
) comment '教师课程安排';

教师共享资料表创建语句如下:


create table t_jszl(
	id int primary key auto_increment comment '主键',
	teacherId int comment '教师',
	title varchar(100) comment '资料名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '文件',
	status varchar(100) comment '状态'
) comment '教师共享资料';

信息通知表创建语句如下:


create table t_message(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	types varchar(100) comment '分类',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '文件',
	showDate datetime comment '日期'
) comment '信息通知';

教师表创建语句如下:


create table t_teacher(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	teacherName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '图片'
) comment '教师';

资料表创建语句如下:


create table t_zl(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '资料名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '文件',
	showDate datetime comment '日期'
) comment '资料';

主任表创建语句如下:


create table t_zr(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	zrName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	pic varchar(100) 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_jskc(
	id integer,
	teacherId int,
	kcName varchar(100),
	kcDate datetime,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--教师课程安排字段加注释
comment on column t_jskc.id is '主键';
comment on column t_jskc.teacherId is '教师';
comment on column t_jskc.kcName is '课程名称';
comment on column t_jskc.kcDate is '课程日期';
comment on column t_jskc.v1 is '第几周';
comment on column t_jskc.v2 is '周几';
comment on column t_jskc.v3 is '第几节';
--教师课程安排表加注释
comment on table t_jskc is '教师课程安排';

教师共享资料表创建语句如下:


create table t_jszl(
	id integer,
	teacherId int,
	title varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	status varchar(100)
);
--教师共享资料字段加注释
comment on column t_jszl.id is '主键';
comment on column t_jszl.teacherId is '教师';
comment on column t_jszl.title is '资料名称';
comment on column t_jszl.content is '内容';
comment on column t_jszl.fileUrl is '文件';
comment on column t_jszl.status is '状态';
--教师共享资料表加注释
comment on table t_jszl is '教师共享资料';

信息通知表创建语句如下:


create table t_message(
	id integer,
	title varchar(100),
	types varchar(100),
	pic varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	showDate datetime
);
--信息通知字段加注释
comment on column t_message.id is '主键';
comment on column t_message.title is '标题';
comment on column t_message.types is '分类';
comment on column t_message.pic is '图片';
comment on column t_message.content is '内容';
comment on column t_message.fileUrl is '文件';
comment on column t_message.showDate is '日期';
--信息通知表加注释
comment on table t_message is '信息通知';

教师表创建语句如下:


create table t_teacher(
	id integer,
	username varchar(100),
	password varchar(100),
	teacherName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	pic varchar(100)
);
--教师字段加注释
comment on column t_teacher.id is '主键';
comment on column t_teacher.username is '账号';
comment on column t_teacher.password is '密码';
comment on column t_teacher.teacherName is '姓名';
comment on column t_teacher.age is '年龄';
comment on column t_teacher.sex is '性别';
comment on column t_teacher.phone is '电话';
comment on column t_teacher.pic is '图片';
--教师表加注释
comment on table t_teacher is '教师';

资料表创建语句如下:


create table t_zl(
	id integer,
	title varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	showDate datetime
);
--资料字段加注释
comment on column t_zl.id is '主键';
comment on column t_zl.title is '资料名称';
comment on column t_zl.content is '内容';
comment on column t_zl.fileUrl is '文件';
comment on column t_zl.showDate is '日期';
--资料表加注释
comment on table t_zl is '资料';

主任表创建语句如下:


create table t_zr(
	id integer,
	username varchar(100),
	password varchar(100),
	zrName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	pic varchar(100)
);
--主任字段加注释
comment on column t_zr.id is '主键';
comment on column t_zr.username is '账号';
comment on column t_zr.password is '密码';
comment on column t_zr.zrName is '姓名';
comment on column t_zr.age is '年龄';
comment on column t_zr.sex is '性别';
comment on column t_zr.phone is '电话';
comment on column t_zr.pic is '图片';
--主任表加注释
comment on table t_zr is '主任';

oracle特有,对应序列如下:


create sequence s_t_jskc;
create sequence s_t_jszl;
create sequence s_t_message;
create sequence s_t_teacher;
create sequence s_t_zl;
create sequence s_t_zr;

高校教研室事务管理系统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_jskc(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--教师
	kcName varchar(100),--课程名称
	kcDate datetime,--课程日期
	v1 varchar(100),--第几周
	v2 varchar(100),--周几
	v3 varchar(100)--第几节
);

教师共享资料表创建语句如下:


--教师共享资料表注释
create table t_jszl(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--教师
	title varchar(100),--资料名称
	content varchar(100),--内容
	fileUrl varchar(100),--文件
	status varchar(100)--状态
);

信息通知表创建语句如下:


--信息通知表注释
create table t_message(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	types varchar(100),--分类
	pic varchar(100),--图片
	content varchar(100),--内容
	fileUrl varchar(100),--文件
	showDate datetime--日期
);

教师表创建语句如下:


--教师表注释
create table t_teacher(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	teacherName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	pic varchar(100)--图片
);

资料表创建语句如下:


--资料表注释
create table t_zl(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--资料名称
	content varchar(100),--内容
	fileUrl varchar(100),--文件
	showDate datetime--日期
);

主任表创建语句如下:


--主任表注释
create table t_zr(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	zrName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	pic varchar(100)--图片
);

高校教研室事务管理系统登录后主页

高校教研室事务管理系统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_jskc")
public class Jskc {
//主键
@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 teacherId;
//课程名称
private String kcName;
//课程日期
private Date kcDate;
//第几周
private String v1;
//周几
private String v2;
//第几节
private String v3;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public Date getKcDate() {return kcDate;}
public void setKcDate(Date kcDate) {this.kcDate = kcDate;}
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;}
}

教师共享资料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_jszl")
public class Jszl {
//主键
@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 teacherId;
//资料名称
private String title;
//内容
private String content;
//文件
private String fileUrl;
//状态
private String status;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
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 String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息通知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_message")
public class Message {
//主键
@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 types;
//图片
private String pic;
//内容
private String content;
//文件
private String fileUrl;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

教师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_teacher")
public class Teacher {
//主键
@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 teacherName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//图片
private String pic;
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 getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

资料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_zl")
public class Zl {
//主键
@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 String fileUrl;
//日期
private Date showDate;
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 String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

主任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_zr")
public class Zr {
//主键
@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 zrName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//图片
private String pic;
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 getZrName() {return zrName;}
public void setZrName(String zrName) {this.zrName = zrName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

高校教研室事务管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计:

教师课程安排javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//教师课程安排
public class Jskc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教师
private Integer teacherId;
//课程名称
private String kcName;
//课程日期
private Date kcDate;
//第几周
private String v1;
//周几
private String v2;
//第几节
private String v3;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public Date getKcDate() {return kcDate;}
public void setKcDate(Date kcDate) {this.kcDate = kcDate;}
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;}
}

教师共享资料javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//教师共享资料
public class Jszl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教师
private Integer teacherId;
//资料名称
private String title;
//内容
private String content;
//文件
private String fileUrl;
//状态
private String status;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
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 String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

信息通知javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//信息通知
public class Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//分类
private String types;
//图片
private String pic;
//内容
private String content;
//文件
private String fileUrl;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

教师javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//教师
public class Teacher  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 teacherName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//图片
private String pic;
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 getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

资料javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//资料
public class Zl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//资料名称
private String title;
//内容
private String content;
//文件
private String fileUrl;
//日期
private Date showDate;
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 String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

主任javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//主任
public class Zr  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 zrName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//图片
private String pic;
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 getZrName() {return zrName;}
public void setZrName(String zrName) {this.zrName = zrName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

猜你喜欢

转载自blog.csdn.net/weixin_44062395/article/details/87902210
今日推荐