SpringBoot-based employee evaluation management system [with source code] (personnel management system)

SpringBoot-based employee evaluation management system (personnel management system)

  1. Development language: Java
  2. Database: MySQL
  3. Technology:SpringBoot+MyBatis+Vue+ElementUI
  4. Tools:IDEA/Ecilpse、Navicat、Maven

Roles: Admin, Employee

  • Administrator: After logging in to the system, the administrator can manage the home page, personal center, employee management, department management, employee attendance management, leave application management, overtime application management, employee salary management, recruitment plan management, employee training management, department training management, Staff management in detail.
  • Employees: Employees can log in to the personnel management system to perform corresponding operations on the home page, personal center, employee attendance management, leave application management, overtime application management, employee salary management, recruitment plan management, employee training management, department training management, and detailed employee management. .
    insert image description here
    insert image description here

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

1 System overview

1.1 Overview

  With the rapid development of society, the impact of computers has penetrated into various fields, forming a comprehensive and profound impact. In the enterprise, the comprehensive employee evaluation management system can effectively help the enterprise to deploy human resources, and it plays a very important role in the stability and sustainable development of the enterprise. With the continuous improvement of people's living standards, the company's requirements for the comprehensive evaluation management system of employees are also increasing, resulting in the increasing number of employees who need comprehensive evaluation of employees. Therefore, it has become an urgent task to develop a comprehensive evaluation management system for employees. The comprehensive evaluation management of employees can effectively solve the problems of human resource management in traditional enterprises, and enable enterprises to better adapt to the highly competitive market under the market economy environment. Through the use of computer technology, the employee comprehensive evaluation management system realizes information management, provides more choices for employees, and also facilitates the company's real-time query, modification and understanding of employee information. The realization of comprehensive employee evaluation management can effectively improve the work efficiency of the enterprise, reduce the occurrence of waste of human resources, and create huge economic and social benefits for the enterprise. The employee comprehensive evaluation management system provides more convenient services for employees, and the system works in conjunction with the database management system software to meet the diverse needs of employees. At present, many enterprises in our country have established a comprehensive employee evaluation management system, which not only provides a better development platform for employees, but also enables enterprises to obtain greater benefits. Due to the complexity of the working environment and the increase in the number of personnel, there are many problems in the comprehensive employee evaluation management system, especially the insufficient data storage, which leads to the inability of the data to be fully utilized, and errors and omissions may occur; in addition, due to the lack of consideration in the system Because of the differences between employees in different positions, it is impossible to achieve a differentiated assessment in the true sense. Secondly, due to the high degree of informationization of the enterprise, the information exchange between various departments is not smooth, which reduces the work efficiency and hinders the normal operation of the enterprise.

1.2 Significance of the topic

  With the development of global informatization, people's life rhythm is getting faster and faster, and they pay more and more attention to the timeliness of information. The traditional media with the traditional publicity as the carrier has long been unable to meet the needs of employees and companies for the way and convenience of obtaining information. Therefore, the employee comprehensive evaluation management system has gradually become the focus of attention of employees and companies. First of all, the comprehensive evaluation and management system for employees, the real-time and convenience of obtaining information online is much higher than that of traditional media. Once the system is launched, no matter where in the world employees are, as long as they can connect to the Internet, they can get the information they want in the first place.

  In the past, the relevant information management of the comprehensive employee evaluation management system was manually counted by the staff. This method not only has low timeliness, but also is very inconvenient when it needs to be searched and changed. With the advancement of science, the maturity of technology, and the rapid development of computer informatization, society has also deeply understood that computers are very powerful. Computers have entered various fields of human social development and play a very important role.

  The application of computer technology in modern management makes computers an important tool for employees to apply modern technology. It can effectively solve the problem of convenient and comprehensive access to information and improve efficiency.

1.3 Main content

  The employee comprehensive evaluation management system conducts demand analysis from the aspects of function, data flow, feasibility, and operating environment. The database and functions of the staff comprehensive evaluation management system are designed in detail. The main interface design and related component design are analyzed, and the concrete implementation of the employee comprehensive evaluation management system is introduced, so as to achieve the management of the employee comprehensive evaluation management system.

The detailed introduction will be elaborated in the following six chapters:

The first chapter, the introduction, introduces the background and significance of the research topic selection, the research status, and briefly introduces the chapter content of this article.

The second chapter introduces technical knowledge, develops by introducing key technologies, and introduces intuitively expressed technical knowledge into the system.

The third chapter focuses on the analysis of the system. Starting from the powerful supply and demand market of the system, it discusses the feasibility of system development, system process, system performance and function.

The fourth chapter introduces the detailed design scheme of the system, including system structure design and database design.

The fifth chapter, the realization of the system design, demonstrates the structure of the system through the detailed description of the system function design.

Chapter 6, the overall test of the system, to judge whether the system can be run online.

  Using Java technology to obtain data from the database and write data to the database, the system can directly perform various operations on the database, and add dynamic content to the web page, so as to realize various basic functions required by the comprehensive employee evaluation management system.

2 System development environment

2.1 Introduction to springboot technology

  As an emerging, Spring-based lightweight development framework, Spring not only retains the original advantages of Spring, but also makes the construction and development of Spring software easier, thereby greatly reducing the development cost and work of developers. quantity and improve development efficiency. With SpringBoot, developers can easily create their own production-based programs. SpringBoot is also a commonly used micro-framework.

2.2 Introduction to JAVA

  Java mainly adopts CORBA technology and security model, which can protect data in Internet applications. It also provides comprehensive support for EJB (Enterprise JavaBeans), java servlet API, JSP (java server pages), and XML technology. Java is a computer programming language with three main features of encapsulation, inheritance and polymorphism, widely used in enterprise web application development and mobile application development. The difference between the Java language and general compilers and literal translation is that Java first converts the source code into bytecode, and then converts it into an executable file for the JVM, which can run on various JVMs. Therefore, its cross-platform characteristics are realized. While this made Java very slow in its early days, it has improved as Java has been developed.

2.3 Implementation method of accessing database

(1) First introduce the basic steps of web database search on the Internet:

Step 1: Check the student's data,

Step 2: You have to establish a connection to the database;

Step 3: Search the database;

The fourth step: the structure of the data;

Step 5: The student's results are shown.

(2) The system until my MYSQL5.0 PHP integrated development environment, such as using the WAMP server is powered on, and the report development environment for easier access to the database:

一个连接到MySQL数据库服务器Mysql_connect-;

语法:资源的mysql_connect(主机,用户名,密码);

请选择数据库:mysql_select_db(数据库链接标识的名称);

关闭数据库:则mysql_close();

2.4 Two connection methods of the system to the MySQL database

  Active MySQL/MySQL library, or using the ODBC interface, the MySQL database is a two-way link. Permanent and non-permanent connections.

(1) Permanent connection: The biggest advantage of a more permanent connection request is that it can be very effective for clients to stand in close contact. When connecting to the MySQL server, it is even better. Every child in the drafting of the page is in the process, not just at any time, only during the lifetime of the connection to the MySQL server request, once connected. This subprocess is to establish a separate connection to the server which can be permanent.

(2) Non-permanent connection: it is a short circuit. The submission goes on the way to the web server, the server processes the request and the requested page you want to send to the browser client, and then the connection is broken. For most websites, it's often about being efficient by being effective, but in most cases the connection is used, but it's a full time to avoid any problems and can increase the capacity the server hosts.

2.5 MySql database

  The language of Mysql is unstructured. Because the language and structure of Mysql are relatively simple, but the function and the amount of stored information are very powerful, its speed, reliability and adaptability have attracted much attention and been widely used. The role of Mysql database in the programming process is very extensive, which brings convenience to students and teachers for data query. The application characteristics of Mysql database: strong flexibility, powerful functions, and relatively concise language.

  Data flow analysis is mainly a storage room for data storage, which is performed on a computer, not a storage room in reality. Database management is mainly data storage, modification and addition, and the establishment of data tables. The establishment of the data table can adjust the data in the data table, recombine and reconstruct the data to ensure the security of the data. Due to the powerful features of the database, the development of this system mainly uses Mysql to manage the data.

3 System Analysis

3.1 Technical Feasibility

  The employee comprehensive evaluation management system is developed and used in the Windows operating system, and the performance of the current PC is already capable of serving as a web server for ordinary websites. The technology used in system development is also owned by itself, and it is also one of the widely used technologies at present.

  The development environment and configuration of the system can be installed by yourself. The system uses Java development tools and a relatively mature Mysql database for data interaction with the background of the system. The database can be modified and maintained according to the technical language and combined with the requirements, which can make the website run more smoothly. It has stability and security, so as to complete the development of the website.

(1) Hardware Feasibility Analysis

  The design of system management and information analysis has no hard requirements for the computer used. As long as the computer can be used normally, it is feasible to write code and page design. The main reason is that there are some requirements for the server. The server to be uploaded after the platform is built is If there are certain requirements, the server must be selected with relatively high security, and then the opening of the website must be smooth, and the pause should not be too long; cost-effective; high security.

(2) Software feasibility analysis

  The entire system is developed using cloud computing. The scalability of traffic and the intelligent adjustment based on traffic are the advantages of cloud computing. safe and efficient operation.

  Therefore, we conducted a feasibility study from two aspects, and it can be seen that there is no problem in the development of the system.

3.2 Economic feasibility

  There is no charge for the market research and other related management systems before the development of the employee comprehensive evaluation management system. All research is done by the developers themselves, and all work is done by themselves. When encountering problems that are difficult to solve, most of them solve related problems with the help of instructors and classmates. Therefore, the development of the comprehensive evaluation management system for employees is completely feasible economically, without any expenses.

  Using relatively mature technology, the system is developed based on Java and uses Mysql database. Therefore, the system does not require high manpower and financial resources for development, and is economically feasible.

3.3 Operation Feasibility

  The operability mainly refers to the degree of user experience after the design of the comprehensive employee evaluation management system is completed, and the administrator can manage relevant data information through the system at any time, and for the administrator and employee roles, they can easily and clearly enter their own The system interface, through which the functional modules can be operated in a simple and clear manner, is convenient for the operation needs of employees and company information and for administrators to manage data information. For the operation of the system, the operation and management of the functional modules can be directly carried out without professionals, so the operability of the comprehensive employee evaluation management system is completely possible. The operation of this system also uses the interface window to log in, so the operator only needs to know simple computer operations.

3.4 System design

  The employee's comprehensive evaluation management system adopts Java technology and Mysql database development, which fully guarantees the stability and integrity of the system.

The design idea of ​​the design and implementation of the staff comprehensive evaluation management system is as follows:

1. The operation is simple and convenient, and the system interface is safe and sound: the simple and clear page layout makes it easy to inquire about the relevant information managed by the comprehensive student evaluation management system.

2. Immediately visible: the processing of the information of the employee comprehensive evaluation management system will be immediately available at the corresponding location, thereby realizing the system function of "instant release and immediate effect".

3. The completeness of the function: you can manage administrators and employees.

3.5 System flow and logic

On the premise of clarifying the business requirements, carry out system architecture design, assuming that the functions and business scope of the system have been clarified in the system requirements analysis stage, and the requirements for system operation are also clarified. If further functional analysis or business process adjustment of the system is to be carried out, the requirements must be redefined, and the newly generated information must be transmitted to the corresponding departments or organizations through certain technical means to meet the actual work requirements. When the above requirements are not determined, the system architecture design is not suitable, so it is necessary to go back to the requirements analysis stage, improve the above requirements, and then proceed to the system architecture design.

  The structure of the system is composed of a series of model diagrams, which are important tools for people to understand the system and communicate. During system construction, in order to make the system easier to understand and integrate with other software, a unified system architecture model must be established. This model can be a simple functional framework, a set of components, a view or a set of documents. In order to better understand the system, these model diagrams need to be provided to the relevant people of the system. In actual work, system architecture model diagrams are often used in the software development process. The knowledge backgrounds of these relevant personnel are different, and their cognition and understanding of the same architecture model diagram are also different: if the development architecture model diagram is presented to product managers or customers, they will inevitably be confused and unable to understand; if Show the design architecture model diagram to engineers, they may not be able to understand it, but they must be able to understand the principles, because engineers must take this issue into account when using the architecture model diagram. There is no doubt that it is difficult to properly guide developers to build a development environment if only the logical architecture diagram is presented in front of the developers.

  Therefore, when designing the system architecture, multiple dimensions of the system must be considered to ensure that system stakeholders can fully understand the requirements of the system architecture. Architecture design is the process of planning the entire system, and it is also the beginning of a system engineering. Its purpose is to connect the functional modules of the system to form an organic whole and make them function better. Among them, the logical architecture refers to the relationship among the functional modules in the system, and the development architecture includes the business logic relationship involved in each stage of the system function realization process. Generally speaking, the design of the system architecture model needs to consider the three aspects of logic, development and physics, so it is necessary to construct the corresponding model diagram. When designing the data architecture model in the database, although the operating architecture and the physical architecture are basically similar, the flow of data is added to the physical architecture, so some system designs use the physical architecture instead of the operating architecture.

6 System Test

6.1 Purpose of system testing

  Programming is not guaranteed to be error-free, it is a development process where errors or errors are inevitable. Although it is inevitable, we cannot make these errors always exist in the system. Errors may cause immeasurable consequences, such as system crashes, security information leaks, system failures, etc. In order to avoid these problems, we need to test the program , to find problems and correct them during the testing process, so that the system will be stable and mature for a longer period of time.

  The role of this chapter is to discover these problems and modify them. Although time-consuming and labor-intensive, it is very important and necessary for the long-term use of system development.

  Software has to be tested after it is designed, and the method used during debugging is the software testing method. When developing new software, system testing is a key step to check whether the software is qualified, and a reference for whether it meets the design goals. The test is mainly to check the accuracy of the data in the software, whether it is operated correctly, and the results of the operation, and what aspects need to be improved.

  The implementation of the employee comprehensive evaluation management system must be tested to judge whether the system can be accurately implemented for the implementation and operation of the functional modules in the system. The first step that must be done before the employee comprehensive evaluation management system is officially uploaded and used is the system test, and the errors found in the test are corrected and dealt with in time to ensure that the system is supplied and used accurately.

6.2 System Test Method

  When testing the employee comprehensive evaluation management system, you must find a solution to the problem as soon as possible when you find a problem. Do not have a fluke mentality, so that the quality of the employee comprehensive evaluation management system can pass the test The cycle will be greatly shortened. In addition, when testing, do not make repeated mistakes. If you encounter a wrong problem, you must solve the problems involved in the development of the entire employee comprehensive evaluation management system one by one, and improve the comprehensive evaluation of employees. Manage the security and stability of the system platform.

White box testing and black box testing are two commonly used methods in testing.

① Structural testing is commonly known as white-box testing: this type of testing is a system test completed in compliance with the internal logic of the program on the premise of a detailed understanding of the program's processing and structure, to ensure that all paths in the system can follow the design It is required to work normally without any deviation.

②Functional testing is also called black-box testing: it is mainly a kind of testing that the program functions can be realized normally according to the design. It is carried out at the program interface to check whether the program data is normal and whether the exchange with external information is complete.

6.3 Test results

  After an effective analysis of a series of test results, the platform development system meets the requirements and requirements. All the basic functions are relatively complete, the operation is simple and convenient, and the performance of the test system is good. It is worth promoting as a popular system.

package org.xjt.blog.controller;

import com.kennycason.kumo.CollisionMode;
import com.kennycason.kumo.WordCloud;
import com.kennycason.kumo.WordFrequency;
import com.kennycason.kumo.bg.CircleBackground;
import com.kennycason.kumo.font.KumoFont;
import com.kennycason.kumo.font.scale.SqrtFontScalar;
import com.kennycason.kumo.nlp.FrequencyAnalyzer;
import com.kennycason.kumo.nlp.tokenizers.ChineseWordTokenizer;
import com.kennycason.kumo.palette.LinearGradientColorPalette;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.xjt.blog.mapper.TBlogMapper;

import java.awt.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Controller
@RequestMapping("/test")
public class MyTestController {
    
    
    @Autowired
    private TBlogMapper blogMapper;

    @GetMapping("/wordcloud")
    private void generateWordCloud(){
    
    
        FrequencyAnalyzer frequencyAnalyzer = new FrequencyAnalyzer();
        frequencyAnalyzer.setWordFrequenciesToReturn(600);
        frequencyAnalyzer.setMinWordLength(2);
        frequencyAnalyzer.setWordTokenizer(new ChineseWordTokenizer());
        // 可以直接从文件中读取
        //List<WordFrequency> wordFrequencies = frequencyAnalyzer.load(getInputStream("D:\\citydo-one\\技术\\Java_Note-master\\python\\tp\\Trump.txt"));
        List<WordFrequency> wordFrequencies = new ArrayList<>();
        // 用词语来随机生成词云
        List<String> test = Arrays.asList("你好","谢谢");
        String strValue = "铁路投资=20, 步伐=20, 国际证券=10, 新开工=15, 加快=15, 逆势增长=15, 增速=7, 万亿元=7, 5月份=6, 同增=5, 水利=5, 相比=5, 跌幅=5, 公路=4, 建筑行业=4, 基建=4, 投资额=4, 本周=4, 高铁=4, 铁路=4, 市政=4, 项目=4, 板块=4, 减少=3, 表现=3, 铁路建设=3, 亿元=3, 新线=3, 回落=3, 开通=3, 下跌=3, 中标=3, 上市公司=3, 6月份=3, 细分=2, 六保=2, 三大=2, 单相=2, 单月=2, 六稳=2, 建筑板块=2, 2项=2, 0.11=2, 洪涝灾害=2, 增长=2, 基建投资=2, 全国铁路=2, 最小=2, 投资=2, 作用=2, 稳步复苏=2, 行业=2, 相关=2, 提升=2, 地产=2, 火车头=2, 预计=2, 央企=2, 建筑=2, 施工=2, 来源=2, 地产投资=2, 签订=2, 比上周=2, 区间=2, 不及预期=2, 34.6=2, 中的=2, 8.4=2, 同比分别=2, 大幅提升=1, 持续=1, 建设步伐=1, 环比=1, 口径=1, 115=1, 其次是=1, 公布=1, 当月=1, 建筑指数=1, 24个=1, 2.85=1, 据介绍=1, 2020年=1, 产业链=1, 行业投资=1, 投资增速=1, 10.8=1, 较上周=1, 亮眼=1, 电热=1, 多个=1, 29.2=1, 欠佳=1, 装配式建筑=1, 收盘=1, ppp=1, 总体=1, 复工=1, 建中=1, 中国=1, 6.3=1, 6.5=1, 下挫=1, 发行=1, 0.07=1, 合计=1, 跑赢大盘=1, 稳步增长=1, 大盘=1, 下半年=1, 3项=1, 计为=1, 气水=1, 0.14=1, 好于=1, 概念板块=1, 金融界=1, 分别为=1, 专项=1, 明显加快=1, 上涨=1, 订单金额=1, 上半年=1, 增速放缓=1, 0.44=1, 开工=1, 1.08=1, 超过=1, 30.1=1, 整体估值=1, 4.5=1, 1.8pct=1, 0.020=1, 八大=1, 1178=1, epc=1, 主要风险=1, 0.60=1, 公用=1, 申万=1, 连镇=1, 2084.43=1, 显现=1, 有望=1, 跌幅为=1, 投资数据=1, 合并=1, 改善=1, 复苏=1, 0.87=1, 0.950=1, 0.85=1, 新开工项目=1, 评级=1, 北段=1, 影响=1, 房地产开发投资=1, 影响下=1, 主要是=1, 0.90=1, 园林工程=1, 2.36=1, 1.68=1, 0.93=1, 涨幅=1, 二级=1, 6月=1, 建筑节能=1, 建筑工程=1, 情况=1, 交运=1, 四大=1, 网站=1, 下降=1, 邮储=1, 开始显现=1, 设计=1, 格库铁路=1, 12.1=1, 2.39=1, 微涨=1, 3.05=1, 所致=1, 继续保持=1, 5000=1, 认为是=1, 3.19=1, 4400公里=1, 新疆=1, 2300公里=1, 订单=1, 分支=1, 公里=1";
        String[] split = strValue.split(", ");
        String word = "";
        int count = 0;

        for (int i = 0; i < split.length; i++) {
    
    
            String[] wordInfo = split[i].split("=");
            word = wordInfo[0];
            count = Integer.valueOf(wordInfo[1]);
            wordFrequencies.add(new WordFrequency(word, count));
        }
        //加入分词并随机生成权重,每次生成得图片都不一样
        //test.stream().forEach(e-> wordFrequencies.add(new WordFrequency(e,new Random().nextInt(test.size()))));
        //此处不设置会出现中文乱码
        java.awt.Font font = new java.awt.Font("STSong-Light", 2, 18);
        //设置图片分辨率
        Dimension dimension = new Dimension(500, 500);
        //此处的设置采用内置常量即可,生成词云对象
        WordCloud wordCloud = new WordCloud(dimension, CollisionMode.PIXEL_PERFECT);
        //设置边界及字体
        wordCloud.setPadding(2);
        //因为我这边是生成一个圆形,这边设置圆的半径
        wordCloud.setBackground(new CircleBackground(255));
        wordCloud.setFontScalar(new SqrtFontScalar(12, 42));
        //设置词云显示的三种颜色,越靠前设置表示词频越高的词语的颜色
        wordCloud.setColorPalette(new LinearGradientColorPalette(Color.RED, Color.BLUE, Color.GREEN, 30, 30));
        wordCloud.setKumoFont(new KumoFont(font));
        wordCloud.setBackgroundColor(new Color(255, 255, 255));
        //因为我这边是生成一个圆形,这边设置圆的半径
        wordCloud.setBackground(new CircleBackground(255));
        wordCloud.build(wordFrequencies);
        //生成词云图路径
        wordCloud.writeToFile("E:\\wordCount.png");
    }
}

Guess you like

Origin blog.csdn.net/2301_78335941/article/details/131038039