# pms **Repository Path**: chennanbian/pms ## Basic Information - **Project Name**: pms - **Description**: 人事管理系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-09-09 - **Last Updated**: 2025-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 人事档案和工资管理系统 **由于我html不太会,编写的页面不好看,将就着看。** # # ![](https://images.gitee.com/uploads/images/2019/0909/141840_6d9b48bd_5249696.png "屏幕截图.png") ![搜索页面](https://images.gitee.com/uploads/images/2019/0909/141941_1d3f83c8_5249696.png "屏幕截图.png") ![搜索结果](https://images.gitee.com/uploads/images/2019/0909/142320_4b65e519_5249696.png "屏幕截图.png") **** **** ### 数据库表格设计 ``` // 用户信息 CREATE TABLE `user_info` ( `work_id` int(9) unsigned NOT NULL COMMENT '9位工号,最大不超过maxInt32,前3位年份,1开头表示19,2开头表示20,接着4位月日,最后2位编号', `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '姓名,默认值为空字符串', `sex` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '性别,1男,2女', `part` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '部门,默认值为空字符串', `occupation` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '职业,默认值为空字符串', `sys_status` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '软状态,1表示可用,2表示不可用', `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间', `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后更新时间', PRIMARY KEY (`work_id`) COMMENT '工号索引,唯一', KEY `part_index` (`part`) COMMENT '部门索引,可重复', KEY `occupation_index` (`occupation`) COMMENT '职位索引,可重复' ) ENGINE=InnoDB DEFAULT CHARSET=utf8 // 工资信息 CREATE TABLE `payroll` ( `work_id` int(9) unsigned NOT NULL DEFAULT '0' COMMENT '9位工号,最大不超过maxInt32,前3位年份,1开头表示19,2开头表示20,接着4位月日,最后2位编号', `time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '发工资日期,前4位年,中间2位月,后两位日', `wages` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '工资,跟工资日期下相对应的工资', UNIQUE KEY `workid_time` (`work_id`,`time`) COMMENT '工号和时间的复合索引' ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ```