基于jsp+java 员工签到系统

介绍:
jsp+mysql+servlet 。员工签到系统

截图:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

数据库表:
CREATE TABLE tb_count (
StaffId varchar(20) NOT NULL DEFAULT ‘’,
Time varchar(20) DEFAULT NULL,
DepartId varchar(20) DEFAULT NULL,
StaffName varchar(20) DEFAULT NULL,
DepartName varchar(20) DEFAULT NULL,
Priviliges varchar(20) DEFAULT NULL,
Gender varchar(20) DEFAULT NULL,
Age varchar(20) DEFAULT NULL,
Frequency varchar(20) DEFAULT NULL,
ATT varchar(20) DEFAULT NULL,
Type varchar(20) CHARACTER SET utf8 DEFAULT NULL,
PRIMARY KEY (StaffId)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


– Records of tb_count


INSERT INTO tb_count VALUES (‘hhh’, null, null, null, null, null, null, null, null, null, null);


– Table structure for tb_department


DROP TABLE IF EXISTS tb_department;
CREATE TABLE tb_department (
DepartId varchar(20) NOT NULL DEFAULT ‘’,
DepartName varchar(20) CHARACTER SET utf8 DEFAULT NULL,
PRIMARY KEY (DepartId)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


– Records of tb_department


INSERT INTO tb_department VALUES (‘001’, ‘销售部’);
INSERT INTO tb_department VALUES (‘002’, ‘事业部’);
INSERT INTO tb_department VALUES (‘003’, ‘策划部’);
INSERT INTO tb_department VALUES (‘004’, ‘营业部’);
INSERT INTO tb_department VALUES (‘005’, ‘保卫部’);
INSERT INTO tb_department VALUES (‘006’, ‘文化部’);


– Table structure for tb_schedule


DROP TABLE IF EXISTS tb_schedule;
CREATE TABLE tb_schedule (
SchId varchar(20) NOT NULL DEFAULT ‘’,
DepartId varchar(20) DEFAULT NULL,
SchName varchar(20) DEFAULT NULL,
CheckTime varchar(20) DEFAULT NULL,
StartTime varchar(20) DEFAULT NULL,
CheckOutTime varchar(20) DEFAULT NULL,
EndTime varchar(20) CHARACTER SET utf8 DEFAULT NULL,
PRIMARY KEY (SchId)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


– Records of tb_schedule



– Table structure for tb_staffback


DROP TABLE IF EXISTS tb_staffback;
CREATE TABLE tb_staffback (
CheckOut varchar(20) NOT NULL DEFAULT ‘’,
StaffId varchar(20) DEFAULT NULL,
DepartId varchar(20) DEFAULT NULL,
Privilige varchar(20) DEFAULT NULL,
Gender varchar(20) CHARACTER SET utf8 DEFAULT NULL,
PRIMARY KEY (CheckOut)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


– Records of tb_staffback


INSERT INTO tb_staffback VALUES (‘2015-06-21 19:04:46’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 19:46’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 19:48’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 19:51’, ‘10001’, ‘null’, ‘null’, ‘null’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 19:52’, ‘10001’, ‘null’, ‘null’, ‘null’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 20:18’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 20:35’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);
INSERT INTO tb_staffback VALUES (‘2015-06-21 20:56’, ‘10001’, ‘001’, ‘renshibu’, ‘man’);


– Table structure for tb_staffinfo


DROP TABLE IF EXISTS tb_staffinfo;
CREATE TABLE tb_staffinfo (
StaffId varchar(20) CHARACTER SET utf8 NOT NULL DEFAULT ‘’,
DepartId varchar(20) DEFAULT NULL,
StaffName varchar(20) DEFAULT NULL,
passwords varchar(20) CHARACTER SET utf8 DEFAULT NULL,
Priviliges varchar(20) DEFAULT NULL,
Gender varchar(20) DEFAULT NULL,
Age int(2) DEFAULT NULL,
Birthday varchar(20) DEFAULT NULL,
Phone varchar(20) DEFAULT NULL,
Address varchar(30) CHARACTER SET utf8 DEFAULT NULL,
PRIMARY KEY (StaffId)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值