基于JavaEE的OA系统(xga34)_mysql_oracle代码分享

基于JavaEE的OA系统登录注册界面

基于JavaEE的OA系统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_qd(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	sbDate datetime comment '上班打卡',
	xbDate datetime comment '下班打卡'
) comment '打卡';

日程表创建语句如下:


create table t_rc(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	content text comment '内容',
	showDate datetime comment '工作日期',
	status varchar(100) comment ''
) comment '日程';

基于JavaEE的OA系统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_qd(
	id integer,
	customerId int,
	sbDate datetime,
	xbDate datetime
);
--打卡字段加注释
comment on column t_qd.id is '主键';
comment on column t_qd.customerId is '员工';
comment on column t_qd.sbDate is '上班打卡';
comment on column t_qd.xbDate is '下班打卡';
--打卡表加注释
comment on table t_qd is '打卡';

日程表创建语句如下:


create table t_rc(
	id integer,
	customerId int,
	content text,
	showDate datetime,
	status varchar(100)
);
--日程字段加注释
comment on column t_rc.id is '主键';
comment on column t_rc.customerId is '员工';
comment on column t_rc.content is '内容';
comment on column t_rc.showDate is '工作日期';
comment on column t_rc.status is '';
--日程表加注释
comment on table t_rc is '日程';

oracle特有,对应序列如下:


create sequence s_t_qd;
create sequence s_t_rc;

基于JavaEE的OA系统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_qd(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	sbDate datetime,--上班打卡
	xbDate datetime--下班打卡
);

日程表创建语句如下:


--日程表注释
create table t_rc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	content text,--内容
	showDate datetime,--工作日期
	status varchar(100)--
);

基于JavaEE的OA系统登录后主页

基于JavaEE的OA系统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_qd")
public class Qd {
//主键
@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 Long customerId;
//上班打卡
private Date sbDate;
//下班打卡
private Date xbDate;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public Date getSbDate() {return sbDate;}
public void setSbDate(Date sbDate) {this.sbDate = sbDate;}
public Date getXbDate() {return xbDate;}
public void setXbDate(Date xbDate) {this.xbDate = xbDate;}
}

日程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_rc")
public class Rc {
//主键
@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 Long customerId;
//内容
private String content;
//工作日期
private Date showDate;
//
private String status;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

基于JavaEE的OA系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

打卡javaBean创建语句如下:


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

//打卡
public class Qd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Long customerId;
//上班打卡
private Date sbDate;
//下班打卡
private Date xbDate;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public Date getSbDate() {return sbDate;}
public void setSbDate(Date sbDate) {this.sbDate = sbDate;}
public Date getXbDate() {return xbDate;}
public void setXbDate(Date xbDate) {this.xbDate = xbDate;}
}

日程javaBean创建语句如下:


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

//日程
public class Rc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Long customerId;
//内容
private String content;
//工作日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
//
private String status;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

相关毕业设计源码

基于微信公众平台的C语言自主学习系统设计与实现

基于微信公众平台的C语言自主学习系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

数据结构课程管理系统设计与实现

数据结构课程管理系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

电影推荐系统的设计与实现

电影推荐系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于ssm的在线订餐位系统,java网站毕业设计

基于ssm的在线订餐位系统(dingcandingwei),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于SSM的在线作业管理系统

基于SSM的在线作业管理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于jsp的民政养老系统,优秀java设计

基于jsp的民政养老系统(minzhengyanglao),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

crm系统设计和实现

crm系统设计和实现(crmxitong),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

ssm停车场管理系统(xfa40)_mysql_oracle代码分享

ssm停车场管理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于SSM网上在线批改系统

基于SSM网上在线批改系统(zaixianpigai),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

金融资产管理系统(xfa87)_mysql_oracle代码分享

金融资产管理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

美食论坛系统设计与实现

美食论坛系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于spring的一汽大众4s店汽车销售系统的设计与实现

基于spring的一汽大众4s店汽车销售系统的设计与实现(4sqichexiaoshou),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

评论