代码拉取完成,页面将自动刷新
/*
Navicat MySQL Data Transfer
Source Server : dev_mysql
Source Server Type : MySQL
Source Server Version : 50644
Source Host : 10.10.200.1:3306
Source Schema : oasys
Target Server Type : MySQL
Target Server Version : 50644
File Encoding : 65001
Date: 23/06/2022 13:28:58
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for attendance
-- ----------------------------
DROP TABLE IF EXISTS `attendance`;
CREATE TABLE `attendance` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`sign_date` date NOT NULL,
`sign_in_time` time NOT NULL,
`sign_out_time` time NOT NULL,
`has_sign_out` tinyint(1) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for attendance_time
-- ----------------------------
DROP TABLE IF EXISTS `attendance_time`;
CREATE TABLE `attendance_time` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`begin` varchar(255) NOT NULL,
`end` varchar(255) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of attendance_time
-- ----------------------------
BEGIN;
INSERT INTO `attendance_time` VALUES (1, '09:00', '17:00');
COMMIT;
-- ----------------------------
-- Table structure for file
-- ----------------------------
DROP TABLE IF EXISTS `file`;
CREATE TABLE `file` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`path` varchar(255) NOT NULL,
`type` varchar(255) NOT NULL,
`size` varchar(255) NOT NULL,
`user_id` int(11) NOT NULL,
`parent_id` int(11) NOT NULL,
`personal` tinyint(1) NOT NULL,
`created_time` datetime NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of file
-- ----------------------------
BEGIN;
INSERT INTO `file` VALUES (1, '根目录', '/', '文件夹', '-', 1, 0, 1, '2020-01-01 00:00:00');
COMMIT;
-- ----------------------------
-- Table structure for leave
-- ----------------------------
DROP TABLE IF EXISTS `leave`;
CREATE TABLE `leave` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`begin_date` date NOT NULL,
`end_date` date NOT NULL,
`reason` varchar(500) NOT NULL,
`comment` varchar(500) DEFAULT NULL,
`type` varchar(4) NOT NULL,
`status` tinyint(1) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for notice
-- ----------------------------
DROP TABLE IF EXISTS `notice`;
CREATE TABLE `notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` varchar(255) NOT NULL,
`has_read` tinyint(4) NOT NULL,
`created_time` datetime NOT NULL,
`receiver_name` varchar(255) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for post_transfer
-- ----------------------------
DROP TABLE IF EXISTS `post_transfer`;
CREATE TABLE `post_transfer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`station_now` varchar(255) DEFAULT NULL,
`station_to_transfer` varchar(255) DEFAULT NULL,
`transfer_type` varchar(255) DEFAULT NULL,
`transfer_reason` varchar(255) DEFAULT NULL,
`apply_date` varchar(255) DEFAULT NULL,
`approve_state` varchar(255) DEFAULT NULL,
`approve_result` varchar(255) DEFAULT NULL,
`deal_date` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of post_transfer
-- ----------------------------
BEGIN;
INSERT INTO `post_transfer` VALUES (6, '1', '初级开发', '初级开发', '升职', '1', '2022-06-08', '已处理', '审批未通过', '2022-06-23');
INSERT INTO `post_transfer` VALUES (7, 'test', '高级开发', '产品', '升职', 'q', '2022-06-23', '已处理', '审批未通过', '2022-06-23');
INSERT INTO `post_transfer` VALUES (9, 'test2', '初级开发', '高级开发', '升职', '11', '2022-06-23', '已处理', '审批通过', '2022-06-23');
COMMIT;
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of role
-- ----------------------------
BEGIN;
INSERT INTO `role` VALUES (1, '员工');
INSERT INTO `role` VALUES (2, '主管');
INSERT INTO `role` VALUES (3, '经理');
COMMIT;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(45) NOT NULL,
`password` varchar(100) NOT NULL,
`synopsis` varchar(200) NOT NULL,
`avatar` varchar(45) NOT NULL,
`email` varchar(255) NOT NULL,
`role_id` int(11) NOT NULL,
`depart` varchar(50) DEFAULT NULL,
`station` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` VALUES (1, 'admin', '$2a$10$VPnyJP6ogfN/uY/l8uUqOOvwtX4NSJ9rvhQFs8FvWuIeH3QPNGxky', '不i啊师傅沙漠好人卡麻烦', '/img/avatar/1.jpg', 'kwxy1314@qq.com', 3, NULL, NULL);
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。