|
|
|
|
/*
|
|
|
|
|
SQLyog Ultimate v11.25 (64 bit)
|
|
|
|
|
MySQL - 8.0.31 : Database - hr
|
|
|
|
|
*********************************************************************
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!40101 SET NAMES utf8 */;
|
|
|
|
|
|
|
|
|
|
/*!40101 SET SQL_MODE=''*/;
|
|
|
|
|
|
|
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/`hr` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
|
|
|
|
USE `hr`;
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `administrator` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `administrator`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `administrator` (
|
|
|
|
|
`administrator_id` varchar(12) NOT NULL,
|
|
|
|
|
`name` varchar(20) NOT NULL,
|
|
|
|
|
`password` varchar(50) NOT NULL,
|
|
|
|
|
`mobile` varchar(20) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`administrator_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `administrator` */
|
|
|
|
|
|
|
|
|
|
insert into `administrator`(`administrator_id`,`name`,`password`,`mobile`) values ('202130325001','吴佳','509AC3E117588F86EE9076690EE3FC63','15334199803'),('202130325002','黎萍','296BEE41DCE773F400F9DC58C3C1DC3F','15273112083'),('202130325003','钟卓娅','B967DBC3379C43740ED9567ABF8A49C0','19896237812');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `daily_evaluate` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `daily_evaluate`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `daily_evaluate` (
|
|
|
|
|
`employee_id` varchar(12) DEFAULT NULL,
|
|
|
|
|
`evaluate` varchar(100) DEFAULT NULL,
|
|
|
|
|
`evaluate_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
|
`manager_id` varchar(12) DEFAULT NULL,
|
|
|
|
|
`rate` double DEFAULT NULL,
|
|
|
|
|
UNIQUE KEY `daily_evaluate_pk` (`employee_id`,`manager_id`,`evaluate_time`),
|
|
|
|
|
KEY `daily_evaluate_employee_manager_id_fk` (`manager_id`),
|
|
|
|
|
CONSTRAINT `daily_evaluate_employee_employee_id_fk` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`),
|
|
|
|
|
CONSTRAINT `daily_evaluate_employee_manager_id_fk` FOREIGN KEY (`manager_id`) REFERENCES `employee` (`manager_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `daily_evaluate` */
|
|
|
|
|
|
|
|
|
|
insert into `daily_evaluate`(`employee_id`,`evaluate`,`evaluate_time`,`manager_id`,`rate`) values ('202130324103','该员工日常非常能力,能干','2024-01-11 19:49:53','202130324102',2.5),('202130324108','把公司当家,随叫随到,老板的得力小帮手。','2024-01-11 19:57:34','202130324102',3.5);
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `department` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `department`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `department` (
|
|
|
|
|
`department_id` int NOT NULL,
|
|
|
|
|
`department_name` varchar(60) NOT NULL,
|
|
|
|
|
PRIMARY KEY (`department_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `department` */
|
|
|
|
|
|
|
|
|
|
insert into `department`(`department_id`,`department_name`) values (1,'前端/移动开发部'),(2,'后端开发部'),(3,'测试部'),(4,'运维/技术部'),(5,'数据分析部'),(6,'项目管理部'),(7,'硬件开发部');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `employee` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `employee`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `employee` (
|
|
|
|
|
`employee_id` varchar(12) NOT NULL,
|
|
|
|
|
`name` varchar(20) NOT NULL,
|
|
|
|
|
`password` varchar(50) NOT NULL,
|
|
|
|
|
`mobile` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
|
|
|
|
|
`age` int NOT NULL,
|
|
|
|
|
`gender` varchar(2) DEFAULT NULL,
|
|
|
|
|
`position` int DEFAULT NULL,
|
|
|
|
|
`education` varchar(6) DEFAULT NULL,
|
|
|
|
|
`hiredate` date DEFAULT NULL,
|
|
|
|
|
`manager_id` varchar(12) DEFAULT NULL,
|
|
|
|
|
`staff_photo` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`employee_id`),
|
|
|
|
|
UNIQUE KEY `phone` (`mobile`),
|
|
|
|
|
KEY `manger_id` (`manager_id`),
|
|
|
|
|
KEY `position` (`position`),
|
|
|
|
|
CONSTRAINT `employee_ibfk_1` FOREIGN KEY (`manager_id`) REFERENCES `employee` (`employee_id`),
|
|
|
|
|
CONSTRAINT `employee_ibfk_2` FOREIGN KEY (`position`) REFERENCES `post` (`position_id`),
|
|
|
|
|
CONSTRAINT `employee_chk_1` CHECK ((`gender` in (_utf8mb4'女',_utf8mb4'男'))),
|
|
|
|
|
CONSTRAINT `employee_chk_2` CHECK ((`education` in (_utf8mb4'本科',_utf8mb4'硕士',_utf8mb4'博士')))
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `employee` */
|
|
|
|
|
|
|
|
|
|
insert into `employee`(`employee_id`,`name`,`password`,`mobile`,`age`,`gender`,`position`,`education`,`hiredate`,`manager_id`,`staff_photo`) values ('202130324102','张伟','482C811DA5D5B4BC6D497FFA98491E38','15987654321',30,'男',1,'本科','2016-01-15',NULL,'https://heimahr.itheima.net/static/img/img.0615818f.jpeg'),('202130324103','李娜','FF63E8A53773911623A3BF66FFFA3DF5','13898765432',35,'女',1,'硕士','2021-02-27','202130324102','https://heimahr.itheima.net/defaultHead.png'),('202130324104','王强','6EEA9B7EF19179A06954EDD0F6C05CEB','13765432109',28,'男',5,'博士','2015-03-01',NULL,NULL),('202130324105','赵丽','C44A471BD78CC6C2FEA32B9FE028D30A','15098765432',32,'女',5,'硕士','2021-04-06','202130324104',NULL),('202130324106','钱刚','02C75FB22C75B23DC963C7EB91A062CC','13123456789',27,'男',5,'本科','2020-05-27','202130324104',NULL),('202130324107','张晓彤','E6346C1FEE547C7EBFF8548C94416ED1','18765432109',27,'女',5,'本科','2021-09-11','202130324104',NULL),('202130324108','李明','D9F2C7A26F6E32A55E6EA2839DF9D009','15234567890',30,'男',1,'硕士','2021-06-15','202130324102',NULL),('202130324109','王芳','C8D90104ECE21AC06BDAEF4DF43C9EFA','13678901234',25,'女',1,'本科','2021-03-10','202130324102',NULL),('202130324110','张磊','122ECE271B6858D9CCD64135B0675963','18735456467',24,'男',5,'本科','2023-06-04','202130324104',NULL),('202130324111','陈静','3FA3DCA51588136544DDC052727BA0AD','15239024753',35,'女',1,'硕士','2020-07-18','202130324102',NULL),('202130324112','杨洋','CAEA4974BFD3C6C5F635519F32D3EE29','13592938539',25,'男',1,'本科','2021-03-19','202130324102',NULL),('202130324113','赵小雪','482A235D2F370137444E187C16EF2234','13445465268',39,'女',3,'博士','2013-01-15',NULL,NULL),('202130324114','杨朝来','4BADAB33618708C5FFC7DCFD666A7DD6','15963637327',30,'男',2,'硕士','2018-02-20',NULL,NULL),('202130324115','李君琳','7C5BBD6D309606581DE48025698665C','18012345678',35,'女',4,'本科','2014-03-25',NULL,NULL),('202130324116','赵雷','CD6F0DE25A7413A7C7EFB1F31AF2F573','13345678901',28,'男',6,'本科','2017-04-10',NULL,NULL),('202130324117','范文远','4DF0B742ECBA12A78A8F29CFD403BF25','15876543210',29,'男',7,'硕士','2018-05-05',NULL,NULL),('202130324118','王锦亮','2C9774D27946BD2385ADDA8020AC273E','13145678901',29,'男',3,'本科','2021-06-12','202130324113',NULL),('202130324119','邓志勇','E3F268BA4DA892D77F330B06713898D6','15998765432',31,'男',3,'硕士','2020-07-20','202130324113',NULL),('202130324120','刘小梅','BC7A2DAB733B90952E0BD2FDC716D6D','13876543210',27,'女',2,'本科','2021-08-03','202130324114',NULL),('202130324121','张阳','6F79EA3EE9769ED786B9497089C08C01','18765432198',33,'男',2,'硕士','2021-09-15','202130324114',NULL),('202130324122','徐敏','F3319457C0982612A20A9D5947634737','13987654321',30,'女',4,'博士','2022-10-01','202130324115',NULL),('202130324124','杨波','F21BAC61B2316A86A2706811DB8B4209','13098765432',30,'男',4,'硕士','2021-10-23','202130324115',NULL),('202130324125','袁艳','CF3A5C11C9A9D13C697EF2486BB808EF','15567891234',31,'女',6,'博士','2020-03-26','202130324116',NULL),('202130324126','陈其虎','77B7065BF74B42268A098639543BBF72','18634567890',26,'男',6,'本科','2022-11-11','202130324116',NULL),('202130324127','吕红','5545601F8BABE864D159975241E23430','13388775601',28,'女',7,'硕士','2021-09-10','202130324117',NULL),('202130324128','胡水洋','C58B5291E6DF73F062AB332BB5EA391','15876097538',34,'男',7,'博士','2020-08-28','202130324117',NULL);
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `employeeskill` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `employeeskill`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `employeeskill` (
|
|
|
|
|
`employee_id` varchar(12) NOT NULL,
|
|
|
|
|
`skill_id` int NOT NULL,
|
|
|
|
|
`score` double DEFAULT NULL,
|
|
|
|
|
`test_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
|
PRIMARY KEY (`employee_id`,`skill_id`,`test_time`),
|
|
|
|
|
KEY `skill_id` (`skill_id`),
|
|
|
|
|
CONSTRAINT `employeeskill_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`),
|
|
|
|
|
CONSTRAINT `employeeskill_ibfk_2` FOREIGN KEY (`skill_id`) REFERENCES `skill` (`skill_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `employeeskill` */
|
|
|
|
|
|
|
|
|
|
insert into `employeeskill`(`employee_id`,`skill_id`,`score`,`test_time`) values ('202130324102',1,35,'2024-01-11 17:09:06'),('202130324102',2,92.5,'2024-01-11 17:12:27'),('202130324102',3,87.5,'2024-01-11 17:12:27'),('202130324102',4,77.5,'2024-01-11 17:12:27'),('202130324102',7,60,'2024-01-11 17:12:27'),('202130324103',4,70,'2023-05-18 08:24:19'),('202130324103',6,73,'2024-01-11 17:12:27'),('202130324103',9,68,'2024-01-11 17:12:27'),('202130324105',2,42,'2024-01-11 17:12:27'),('202130324105',6,73,'2024-01-11 17:12:27'),('202130324105',7,62,'2024-01-11 17:12:27'),('202130324106',2,50,'2024-01-11 17:12:27'),('202130324106',6,70,'2024-01-11 17:12:27'),('202130324106',7,65,'2024-01-11 17:12:27'),('202130324107',4,81,'2024-01-11 17:12:27'),('202130324107',6,72,'2024-01-11 17:12:27'),('202130324107',12,86,'2024-01-11 17:12:27'),('202130324108',1,53,'2024-01-11 17:12:27'),('202130324108',1,60,'2024-01-11 17:12:28'),('202130324108',3,60,'2024-01-11 17:12:28'),('202130324108',5,70,'2024-01-11 17:12:28'),('202130324108',7,50,'2024-01-11 17:12:28'),('202130324108',8,32,'2024-01-11 17:12:28'),('202130324108',10,72,'2024-01-11 17:12:28'),('202130324109',4,76,'2024-01-11 17:12:28'),('202130324109',6,72,'2024-01-11 17:12:28'),('202130324109',12,83,'2024-01-11 17:12:28'),('202130324110',4,70,'2024-01-11 17:12:28'),('202130324110',6,67,'2024-01-11 17:12:28'),('202130324110',10,80,'2024-01-11 17:12:28'),('202130324111',4,83,'2024-01-11 17:12:28'),('202130324111',6,80,'2024-01-11 17:12:28'),('202130324111',12,90,'2024-01-11 17:12:28'),('202130324118',2,50,'2024-01-11 17:12:28'),('202130324118',6,72,'2024-01-11 17:12:28'),('202130324118',7,81,'2024-01-11 17:12:28'),('202130324120',4,60,'2024-01-11 17:12:28'),('202130324120',6,80,'2024-01-11 17:12:28'),('202130324120',9,86,'2024-01-11 17:12:28'),('202130324121',2,50,'2024-01-11 17:12:28'),('202130324121',6,70,'2024-01-11 17:12:28'),('202130324121',7,82,'2024-01-11 17:17:04'),('202130324122',1,82.5,'2024-01-11 17:16:45'),('202130324124',1,80,'2024-01-11 17:16:45'),('202130324124',3,75,'2024-01-11 17:16:45'),('202130324124',5,72.5,'2024-01-11 17:16:45'),('202130324124',7,53,'2024-01-11 17:16:45'),('202130324124',8,50,'2024-01-11 17:16:45'),('202130324124',10,80,'2024-01-11 17:16:45'),('202130324125',1,92.5,'2024-01-11 17:16:45'),('202130324125',2,70,'2024-01-11 17:16:45'),('202130324125',3,72.5,'2024-01-11 17:16:45'),('202130324125',4,82.5,'2024-01-11 17:16:45'),('202130324125',5,64,'2024-01-11 17:16:45'),('202130324125',6,77.5,'2024-01-11 17:16:45'),('202130324125',7,10,'2024-01-11 17:16:45'),('202130324125',8,40,'2024-01-11 17:16:45'),('202130324125',9,62,'2024-01-11 17:16:45'),('202130324125',10,82,'2024-01-11 17:16:45'),('202130324125',11,30,'2024-01-11 17:16:45'),('202130324125',12,60,'2024-01-11 17:16:45'),('202130324126',1,85,'2024-01-11 17:16:45'),('202130324126',4,60,'2024-01-11 17:16:45'),('202130324126',6,83,'2024-01-11 17:16:45'),('202130324126',9,93,'2024-01-11 17:16:45');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `form` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `form`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `form` (
|
|
|
|
|
`employee_id` varchar(12) NOT NULL,
|
|
|
|
|
`position_id` int NOT NULL,
|
|
|
|
|
`target` int NOT NULL,
|
|
|
|
|
`reason` text,
|
|
|
|
|
`evaluate` text,
|
|
|
|
|
`status` int DEFAULT NULL,
|
|
|
|
|
`apply_date` date DEFAULT NULL,
|
|
|
|
|
`approval_date` date DEFAULT NULL,
|
|
|
|
|
`approver` varchar(12) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`employee_id`,`target`),
|
|
|
|
|
KEY `position_id` (`position_id`),
|
|
|
|
|
KEY `form_employee_manager_id_fk` (`approver`),
|
|
|
|
|
CONSTRAINT `form_employee_manager_id_fk` FOREIGN KEY (`approver`) REFERENCES `employee` (`manager_id`),
|
|
|
|
|
CONSTRAINT `form_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`),
|
|
|
|
|
CONSTRAINT `form_ibfk_2` FOREIGN KEY (`position_id`) REFERENCES `post` (`position_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `form` */
|
|
|
|
|
|
|
|
|
|
insert into `form`(`employee_id`,`position_id`,`target`,`reason`,`evaluate`,`status`,`apply_date`,`approval_date`,`approver`) values ('202130324102',1,2,'我就要换,不服来打我啊',NULL,1,'2023-07-07',NULL,NULL),('202130324103',1,5,'本人参与过数据库的开发,拥有相关经历。','你申请调的岗位跨度太大,不适合这份工作,建议你申请别的岗位。',3,'2024-01-07','2024-01-08','202130324102'),('202130324103',1,6,'我觉得我挺适合的','我也觉得你挺合适',2,'2023-07-07','2023-11-14','202130324102'),('202130324103',1,7,'我不想在原来的岗位了。',NULL,1,'2024-01-07',NULL,NULL),('202130324105',5,3,'平安喜乐',NULL,2,'2023-04-11','2023-11-16','202130324104'),('202130324106',5,3,'暴富',NULL,2,'2023-06-13','2023-08-14','202130324104'),('202130324107',5,7,'故乡',NULL,2,'2023-04-11','2023-08-24','202130324104'),('202130324108',1,1,'想挑战',NULL,2,'2023-11-18','2024-01-08','202130324102'),('202130324108',1,2,'换换换','表现良好,我同意了',2,'2023-07-11','2024-01-03','202130324102'),('202130324109',1,7,NULL,NULL,2,'2023-03-08','2023-09-10','202130324102'),('202130324110',5,2,'天天开心',NULL,2,'2023-01-11','2023-07-17','202130324104'),('202130324110',5,3,'现有岗位已经不匹配我的技术,我适合到更好的地方发展','好的',2,'2023-07-12','2023-10-17','202130324104'),('202130324111',1,7,'答辩',NULL,2,'2023-02-06','2023-03-16','202130324102'),('202130324118',6,3,'好好学习',NULL,2,'2022-11-18','2023-01-11','202130324113'),('202130324120',2,6,'个人对数据库有深刻的研究,曾参与大型数据库的研发','同意',2,'2023-07-12','2024-01-02','202130324114'),('202130324121',2,3,'小土豆',NULL,2,'2023-03-15','2023-10-10','202130324114'),('202130324121',2,7,'我的实力就是最好的理由','我觉得你不适合',3,'2023-07-12','2023-12-25','202130324114'),('202130324122',2,6,'我的能力适合去更好的地方',NULL,1,'2023-07-12',NULL,'202130324115'),('202130324124',4,1,'实现我的梦想,人往高处走,水往低处流。','很好',2,'2023-07-12','2023-07-12','202130324115'),('202130324124',4,6,'回家',NULL,2,'2023-08-11','2024-01-02','202130324115'),('202130324125',6,1,'现有岗位超过我能力所能承受的压力','不错',2,'2023-07-12','2023-07-12','202130324116'),('202130324126',5,3,'我觉得我很适合',NULL,1,'2023-07-12',NULL,'202130324116'),('202130324126',2,6,'新年快乐',NULL,2,'2024-01-02','2024-01-12','202130324116');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `notification` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `notification`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `notification` (
|
|
|
|
|
`notice_id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`title` varchar(255) NOT NULL,
|
|
|
|
|
`content` text NOT NULL,
|
|
|
|
|
`summary` varchar(500) DEFAULT NULL,
|
|
|
|
|
`STATUS` int NOT NULL,
|
|
|
|
|
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
|
`created_by` varchar(12) NOT NULL,
|
|
|
|
|
PRIMARY KEY (`notice_id`),
|
|
|
|
|
KEY `created_by` (`created_by`),
|
|
|
|
|
CONSTRAINT `notification_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `top_manager` (`top_id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `notification` */
|
|
|
|
|
|
|
|
|
|
insert into `notification`(`notice_id`,`title`,`content`,`summary`,`STATUS`,`created_at`,`created_by`) values (1,'招募有志之士','申请人向单位提交申请材料,各单位从申请人的思想政治素质、教育背景、学术水平、科研能力、拟开展研究内容的创新性及对所属学科领域的推动作用等方面评选推荐,人事部组织专家进行评审并报学校审批,审批结果公示无异议后最终确定入选名单','诚聘有能力者来大数据开发岗位',1,'2023-07-08 20:16:52','202130326001'),(2,'明天放假','因大家表现良好,公司决定放假一天','放假一天',1,'2023-07-08 20:16:57','202130326001');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `position_skill` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `position_skill`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `position_skill` (
|
|
|
|
|
`position_id` int NOT NULL,
|
|
|
|
|
`skill_id` int NOT NULL,
|
|
|
|
|
`skill_weight` float NOT NULL,
|
|
|
|
|
`expect_score` float DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`position_id`,`skill_id`),
|
|
|
|
|
KEY `skill_id` (`skill_id`),
|
|
|
|
|
CONSTRAINT `position_skill_ibfk_1` FOREIGN KEY (`position_id`) REFERENCES `post` (`position_id`),
|
|
|
|
|
CONSTRAINT `position_skill_ibfk_2` FOREIGN KEY (`skill_id`) REFERENCES `skill` (`skill_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `position_skill` */
|
|
|
|
|
|
|
|
|
|
insert into `position_skill`(`position_id`,`skill_id`,`skill_weight`,`expect_score`) values (1,1,2,70),(1,3,2,70),(1,5,3,70),(1,7,1,70),(1,8,2.5,70),(1,10,1.5,70),(2,4,1.2,65),(2,6,2,65),(2,10,2.3,65),(3,2,2.5,60),(3,6,1.6,60),(3,7,1.5,60);
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `post` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `post`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `post` (
|
|
|
|
|
`position_id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`NAME` varchar(20) NOT NULL,
|
|
|
|
|
`department_id` int DEFAULT NULL,
|
|
|
|
|
`description` text,
|
|
|
|
|
`requirement` text,
|
|
|
|
|
PRIMARY KEY (`position_id`),
|
|
|
|
|
KEY `fk_post_department` (`department_id`),
|
|
|
|
|
CONSTRAINT `fk_post_department` FOREIGN KEY (`department_id`) REFERENCES `department` (`department_id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `post` */
|
|
|
|
|
|
|
|
|
|
insert into `post`(`position_id`,`NAME`,`department_id`,`description`,`requirement`) values (1,'单板硬件开发',7,'1、负责单板硬件全流程开发,主导单板硬件器件选型、原理图设计到SDV测试的完整研发过程,满足功能、性能、成本、质量等多维度需求的研发设计;2、独立完成硬件生产及网上问题分析定位、外购件选型和产品化设计。','1、电子、通信、自动化、电气工程、机械电子、光电等相关专业本科及以上学历;2、扎实硬件基础知识,精通模拟/数字电路分析及设计,具有基于ARM/DSP/FPGA硬件系统单板开发和调试经验、数字/模拟传感器检测和模拟小信号处理分析能力等成功实践经验,在各类电子竞赛中获得过奖项,将会被优先考虑;3、富有团队协作精神,敢于承担责任,敢于挑战困难,能承受压力。'),(2,'天线开发',7,'从开发传统无源基站天线、到4.5G、5G时代有源AAS天线、超大容量Massive MIMO天线;从传统终端产品单天线、到双天线、多天线、4x4 MIMO等','1、电磁场与微波相关专业本科及以上学历;2、熟练掌握HFSS、CST、ADS等一款或多款仿真软件;3、熟悉天线开发、移相器、滤波器、合路器设计等,并有相关的项目开发经验或成果。'),(3,'器件工程设计及应用',7,'基于ICT、终端、车载等核心产品对电子元器件高竞争力的需求,开展新型器件(如显示器件、存储新介质、内存器件等)方案设计,或者新型器件材料、工艺设计,并联合行业TOP资源进行开发与实现','1、电子(微电子)、集成电路、材料、物理、半计算机、通信、半导体物理与材料(如存储新介质,内存器件、显示器件)、光电、无线与微波、自控、自动化等相关专业;2、具备良好的数字、模拟电路、半导体原理基础;3、具有相关器件设计实践背景优先'),(4,'应用软件开发工程师',2,'创作极致用户体验的应用APP,围绕鸿蒙生态从事HarmonyOS应用软件研发','1、计算机、通信、软件工程等相关专业本科及以上学历;2、对终端产品软件开发充满激情;3、热爱编程,基础扎实,熟悉掌握JAVA/C/C++编程语言,有良好的编程习惯。'),(5,'数据库开发工程师',2,'负责数据库/数据仓库需求分析、系统/子系统模块的设计、关键模块和算法的编码实现,单元测试、系统测试全流程的工作','1、计算机、软件、通信、数学等相关专业本科及以上学历,有志于云化、智能化数据管理、数据库相关研发工作;2、热爱编程,熟练掌握C/C++/JAVA/python/shell/Perl中一种及以上编程语言;3、满足以下四项其中之一的优先考虑:1)熟悉MySQL 、PostgreSQL、Amazon Aurora、Azure SQL、SQLServer、MongoDB、Cassandra、Spanner、Redis、Sqlite其中之一的基本原理;2)熟悉与Oracle、DB2、Sybase等相关的主流数据产品及应用;3)了解虚拟化(存储/网络)、Hadoop或MapReduce等数据库相关技术;4)了解云数据库服务和数据迁移相关技术。'),(6,'大数据开发工程师',2,'1、深度参与到华为大数据Hadoop、Yarn、Spark、Hive、HBase、Kafka、Zookeeper、Flume、AI平台等组件的研发、交付及解决方案支撑;2、探索云服务化实现的前沿技术,并负责华为云大数据服务的架构设计、开发、测试及运维','1、计算机、软件相关专业本科及以上学历;2、精通JAVA软件开发,有软件开发项目经验,并至少熟练掌握以下语言中的一种:C/C++/GO/Python/PHP/Shell等编程语言及脚本语言;3、熟悉大数据相关开源软件,有应用大数据组件的解决问题的实战经验更好,有开源社区代码贡献者优先;4、具备团队意识,与他人合作良好,最好具有团队协作的经验。'),(7,'嵌入式软件开发工程师',2,'负责软件设计和交付,包括DSP嵌入式软件开发、大规模<EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `skill` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `skill`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `skill` (
|
|
|
|
|
`skill_id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`name` varchar(20) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`skill_id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `skill` */
|
|
|
|
|
|
|
|
|
|
insert into `skill`(`skill_id`,`name`) values (1,'抗压能力'),(2,'学习能力'),(3,'解决问题能力'),(4,'客户导向'),(5,'专业能力'),(6,'合作精神'),(7,'逻辑思维'),(8,'器件工程设计及应用专业能力'),(9,'应用软件开发工程师专业能力'),(10,'数据库开发工程师专业能力'),(11,'大数据开发工程师专业能力'),(12,'嵌入式软件开发工程师专业能力'),(13,'vue框架 '),(14,'javascript'),(15,'html5'),(16,'css'),(17,'web前端'),(18,'移动前端'),(19,'webpack'),(20,'2年以上开发经验'),(21,'ElementUI '),(22,'Node.js'),(23,'计算机相关专业'),(24,'Java'),(25,'数据库'),(26,'SpringCloud'),(27,'SpringBoot'),(28,'mybatis'),(29,'Git'),(30,'SpringMVC'),(31,'maven'),(32,'数学或计算机专业 '),(33,'硕士及以上学历'),(34,'matlab'),(35,' c++'),(36,'python'),(37,'openCV'),(38,'图像识别 '),(39,'Kotlin'),(40,'SDK开发'),(41,'Android Studio'),(42,'Android系统开发'),(43,'PHP'),(44,'ios'),(45,'U3D'),(46,'UE4'),(47,'自然语言处理算法');
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `test` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `test`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `test` (
|
|
|
|
|
`question_id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`title` varchar(200) NOT NULL,
|
|
|
|
|
`option_A` varchar(100) NOT NULL,
|
|
|
|
|
`option_B` varchar(100) NOT NULL,
|
|
|
|
|
`option_C` varchar(100) NOT NULL,
|
|
|
|
|
`option_D` varchar(100) NOT NULL,
|
|
|
|
|
`score_A` float NOT NULL,
|
|
|
|
|
`score_B` float NOT NULL,
|
|
|
|
|
`score_C` float NOT NULL,
|
|
|
|
|
`score_D` float NOT NULL,
|
|
|
|
|
`skill_id` int NOT NULL,
|
|
|
|
|
PRIMARY KEY (`question_id`),
|
|
|
|
|
KEY `skill_id` (`skill_id`),
|
|
|
|
|
CONSTRAINT `test_ibfk_1` FOREIGN KEY (`skill_id`) REFERENCES `skill` (`skill_id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `test` */
|
|
|
|
|
|
|
|
|
|
insert into `test`(`question_id`,`title`,`option_A`,`option_B`,`option_C`,`option_D`,`score_A`,`score_B`,`score_C`,`score_D`,`skill_id`) values (1,'在Protel99SE的设计中,可以改变引脚放置角度的快捷键为','Q','Tab','Space','L',0,0,10,0,8),(2,'下面不属于元件安装方式的是','插入式安装工艺','表面安装','梁式引线法','芯片直接安装',0,0,10,0,8),(3,'ST指令的作用是','用于单个常开触点与母线连接','用于单个常闭触点与上面的触点并联连接','用于单个常闭触点与前面的触点串联连接','用于单个常开触点与上面的触点并联连接',10,0,0,0,8),(4,'布线时在条件允许的范围内,尽量加宽电源、地线宽度,它们的关系是','.地线>电源线>信号线','地线>信号线>电源线','电源线>信号线>地线','电源线>地线>信号线',10,0,0,0,8),(5,'改变绘图区域设计中,快捷键说法正确的是','PageDcwn键是放大视图','4、Home键设计边框将完全显示在视图内',' Page up键缩小视图','ZoomOut键放大视图',0,10,0,0,8),(6,'原理图编辑系统内编辑出的文件后缀为','.txt','.pcb','.doc','.sch',0,0,0,10,8),(7,'计算机网络中,子网划分是通过借用IP地址的若干位主机位来充当子网地址从而将原网络划分为若干子网而实现的,现假设北京市某单位分配到一个B类IP地址,其网络地址为129.250.0.0,该单位有4000台机器,平均分布在16个不同的地点,试给每一地点分配一个子网号码,要求能分配的子网数最多的情况下,每个子网里面的主机数也能容纳一个地点的所有主机,则子网掩码选择为多少,这种情况下可以划分多少个子网','255.255.255.0,254','255.255.0.0,254','255.255.248.0,510','255.255.248.0,254',0,0,10,0,9),(8,'对于下列关键字序列,不可能构成某二叉排序树中一条查找路径的序列是','90,17,83,24,85,71','90,18,89,32,86,33','19,87,75,27,34,36','10,23,69,66,31,32',0,0,10,0,9),(9,'在数据库一个事务执行的过程中,此事务所访问的数据被其他的事务访问并且修改,致使第一个事务处理的结果异常,这个想象违背了事务的','原子性','一致性','隔离性','持久性',0,0,10,0,9),(10,'下列关于linux查看进程命令说法错误的是','ps -aux可查看运行中的进程','ps -ef可查看运行中的进程','\"pstree -p 进程ID\"可查看主线程和子线程之间的关系','\"ps -aL | grep 进程名\"不能查看主线程有哪些子线程',0,0,0,10,9),(11,'全球化项目测试中,下列哪项描述是不正确的','日期跟时间的格式,包含各式日历','书写方向大家都是由左到右,只需要各国语言是否会因文字太长造成位置错乱即可','政府给定的编码需要单独测试: 如身份证号码,美国的社会安全码等','电话号码、地址和国际邮递区号',0,10,0,0,9),(12,'集成测试中发现的缺陷不包含以下哪一类','单元传送了错误的数据,或没有传送数据,导致接收数据的单元不能操作或崩溃','错误的变量初始化或默认值','通信正常,但是被调用的单元使用不同的方法来解析接收到的数据','数据内容传输正确,但是传输的时间错误、传输的延迟',0,0,0,10,9),(13,'假设有选课表course_relation(student_id, course_id),其中student_id表示学号,course_id表示课程编号,如果小易现在想获取每个学生所选课程的个数信息,请问如下的sql语句正确的是','select student_id, sum(course_id) from course_relation','select student_id, sum(course_id) from lcourse_relation group by student_id','select student_id, count(course_id) from course_relation','select student_id, count(course_id) from course_relation group by student_id',0,0,0,10,10),(14,'假设创建新用户nkw,现在想对于任何IP的连接,仅拥有user数据库里面的select和insert权限,则列表语句中能够实现这一要求的语句是','GRANT SELECT, INSERT ON *.* TO \'nkw\'@\
|
|
|
|
|
|
|
|
|
|
/*Table structure for table `top_manager` */
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `top_manager`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `top_manager` (
|
|
|
|
|
`top_id` varchar(12) NOT NULL,
|
|
|
|
|
`name` varchar(20) DEFAULT NULL,
|
|
|
|
|
`password` varchar(50) DEFAULT NULL,
|
|
|
|
|
`mobile` varchar(20) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`top_id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
/*Data for the table `top_manager` */
|
|
|
|
|
|
|
|
|
|
insert into `top_manager`(`top_id`,`name`,`password`,`mobile`) values ('202130326001','江亦云','5D93CEB70E2BF5DAA84EC3D0CD2C731A','18389951049'),('202130326002','胡昌浪','B647E4768B3BE541BB112AA789EC266D','15023978771');
|
|
|
|
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|