[Computer Graduation Design] 156 Conventional Emergency Material Management System

1. Screenshots of the system (if you need a demo video, you can chat privately)

directory    

Summary

ABSTRACT

Chapter One Introduction

1.1 Research Background

1.2 Research Significance

1.3 Research status at home and abroad

1.3.1 Research Status Abroad

1.3.2 Domestic Research Status

1.4 Research content and methods

1.4.1 Research content

1.4.2 Research Methods

1.5 Organizational structure of the paper

Chapter 2 Introduction to Development Technology

2.1 B/S Architecture

2.2 Java language

2.3 SSM framework

2.4 vue framework

2.5 MySQL database

Chapter 3 System Analysis

3.1 System requirements analysis

3.2 Feasibility analysis of the system

3.2.1 Economic feasibility

3.2.2 Technical Feasibility

3.2.3 Operation Feasibility

Chapter 4 System Design

4.1 Overall functional design of the system

4.2 Database design

4.2.1 Conceptual Design

4.2.2 Logic Design

Chapter 5 System Implementation

5.1 Administrator role function design

5.1.1 Administrator home page

5.1.2 Personal center

5.1.3 Health check-in management

5.1.4 Basic data management

5.1.5 Materials Management

5.1.6 Material application management

5.1.7 Material transportation management

5.1.8 User Management

5.1.9 Department Management

5.2 User Function Design

5.2.1 User home page

5.2.2 Personal center

5.2.3 Health check-in management

5.2.4 Materials Management

5.2.5 Material application management

5.2.6 Material transportation management

Chapter 6 System Test

6.1 Test overview

6.2 Test results

in conclusion

references

thanks

Summary

At present, we are in the era of informationization. Many industries adapt to the changes of the times and use computer technology to move towards digitalization and informationization. In the past, related industries used manual registration to save relevant data for the management and control of conventional emergency material information. This manpower-based management model has fallen behind. In combination with mainstream program development technology, I designed a conventional emergency material management system based on SpringBoot+Vue, which can greatly reduce the loss of manpower and financial resources, and facilitate relevant personnel to update and save information in a timely manner. This conventional emergency supplies management system is based on the B/S model. By using the idea platform to write relevant Java codes, the design of the functional modules of the system is realized, and the MySQL database is used to design the relevant data tables to realize the system For the management and control of data resources, use the SSM framework to create the relevant project mainstream architecture, realize the basic framework of the system, and finally publish the developed system to the Internet by using the Tomcat browser, so that relevant users can run and use the system. This article makes a detailed introduction to the feasibility analysis of the system implementation, the designed functions and database planning, and the design of the main function module test, and also shows the main function module design interface and operation interface of the system in this article , and made the necessary explanations to facilitate the operation and use of the system by users, as well as the update and maintenance of the system by relevant personnel in the later period. The realization of this system can greatly improve the work efficiency of related industries and enhance the user experience, so the application of this system in real life has great use value.

Keywords: conventional emergency supplies management, Java language, B/S architecture, MySQL database

Chapter 1  Introduction 

1.1 Research Background

In recent years, the tertiary industry has developed very rapidly. Service industries such as computer services, tourism, entertainment, and sports have greatly promoted the economic construction of the entire society. This is beyond doubt. At present, the state has also issued a series of policies to support and encourage the development and improvement of the tertiary service industry to drive social and economic development [1]. Therefore, on the whole, the country is more advocating the development of the third-party service industry. Throughout the entire development process of the computer field, it has been hundreds of years since the birth of the computer, and the computer application technology has gradually matured, and the relevant designers are constantly improving and perfecting it. Until now, computers have developed into a relatively popular industry. In colleges and universities, majors such as computer and artificial intelligence are very popular. When many students choose a major, they give priority to computer majors. In society, the computer industry has also become a relatively popular industry. From websites accessed in browsers, to various applications on mobile phones, to large-scale software service equipment, basically everything is inseparable from computer technology. support, and hardware support.

Today, the Internet is everywhere in the world, and artificial intelligence and big data are playing an increasingly important role. For example, during the epidemic, big data technology is used to screen to determine which personnel have no contact history and which personnel need to be observed. This can prevent and control the epidemic at the fastest speed in a very short period of time. Driven by this background environment, I have laid a solid technical foundation by learning Java language, MySQL database, SSM framework and other related computer technologies, so as to facilitate the later development of the system. Then, through the analysis of the system, the overall functional requirements of the system and the possibility of realization are determined, so that the relevant functional modules can be designed in detail, and finally a conventional emergency material management system based on SpringBoot+Vue has been successfully developed. This system improves the traditional management mode, and improves the original manual record and management information to use computer storage and management information records, which greatly facilitates the staff to process related data and saves a lot of staff costs for related industries And management overhead, and can respond to the needs of users in a short period of time, this convenient operation can save a lot of time and energy for users, and also save a lot of trouble, which greatly facilitates users.

1.2 Research Significance

The traditional information management mode is mainly based on manpower for management and control. The staff is responsible for registering user information, and then by comparing the previous information records, it is determined whether to provide users with relevant usage requirements and how to provide them to satisfy users. usage requirements. This kind of management mode can no longer adapt to the changes of the times, and is constantly going downhill, and is gradually being replaced by the information management mode. The so-called information management mode is a mainstream management mode now, which improves and perfects the entire working mode and service process of the industry by combining it with computer technology. It mainly uses computers and other equipment to digitize the work service process and store and record it to improve the overall service level of the industry. Combined with computer technology, I have developed a conventional emergency material management system based on SpringBoot+Vue, which stores data information electronically, which is convenient for staff to record and manage relevant information, and is conducive to improving the work and operation of related industries. Efficiency and staff management speed, in order to better meet the relevant needs of users, and ultimately achieve the purpose of improving the user experience. It can be seen that the design and implementation of this system is of great significance and value.

1.3 Research status at home and abroad

1.3.1 Research Status Abroad

The United States is one of the first countries to develop computer technology. As early as the last century, computer technology in the United States developed rapidly and was used in military, hospitals, schools, social services and other places. Japan, Germany and other countries followed closely behind, constantly developing and improving computer technology, focusing on the combination of medical care, social services and other fields with computer technology [2]. Then with the development and progress of society, computer technology gradually matures. When many developed countries are exploring the application of computer technology in various industries, from another perspective, they are also constantly promoting the information management process of related industries, making the management of related industries more networked and informationized. Many experts said that image processing software, artificial intelligence technology and other related tools can be used to deeply analyze the conventional emergency supplies management system, mainly from the aspects of simplifying operation, adding functional modules, beautifying the system interface, and ensuring data security. Improve and optimize the system hierarchically, and achieve real-time information sharing as much as possible under ideal conditions.

1.3.2 Domestic Research Status

Although the development of domestic computer technology is later than that of foreign countries, especially in developed countries such as the United States, Britain, and Germany. However, the development momentum of computer technology in our country is very rapid, and in recent years, it has gradually moved towards a mature and perfect stage. Now, choosing online shopping has become a normal trend in people's daily life. Of course, this is also inseparable from the use of Tmall, Alipay, WeChat and other application software [3]. Many enterprises have combined advanced computer technologies such as cloud computing and artificial intelligence, and independently developed industry-related information management systems. Computer technology has gradually matured, and the functions of user design have gradually become complete. Combined with computer technology, adopt the mainstream B/S development structure model to develop a conventional emergency material management system based on SpringBoot+Vue. As a result, the system can support staff to access operations anytime and anywhere by using a browser, and supports management of relevant conventional emergency supplies information anytime and anywhere, so as to provide users with certain functional services in a timely manner. Moreover, the designed system can basically meet the objective needs of users, which is conducive to fully coordinating the human, financial, and material resources of related industries, and continuously improving the management quality and level of relevant staff [4].

1.4 Research content and methods

1.4.1 Research content

This paper first introduces the research background and significance of the conventional emergency supplies management system, then introduces the overall function design of the system, and then splits the overall function of the system into various functional sub-modules, and then analyzes each small one in detail. The functional sub-modules are designed, and finally the designed functional modules and test results are introduced. The system is mainly divided into administrator roles and user roles. The specific functional design includes modules such as registration and login management, user information management, material information management, and material transportation management. The registration and login management function is that new users need to go through the registration steps to register detailed information before using the system, and then enter the correct account number and password. After successfully logging in to the system, a series of operations can be performed to satisfy their own related need. The user information management function is to manage related user information materials, and the management personnel can selectively update the user information records according to the needs of the actual situation. Material information management is to manage relevant material information records, save detailed material information, and respond to user service requests in a timely manner. Material transportation management is to manage relevant material transportation information records, so that relevant personnel can check the material transportation information in a timely manner. If any abnormal material transportation information is encountered, it can be processed in time to solve the problem in a short period of time and improve the use of users. experience.

1.4.2 Research Methods

The system is implemented with B/S architecture. By using the idea tool to write relevant java codes, design system function modules, and then manage and control data resources through the MySQL database, it is beneficial to the necessary management and control of system-related data. The most critical part of system design is to design the system functional architecture through the SSM framework, and then publish the system to the browser through the Tomcat server for the operation and use of relevant users. The design and implementation of this system has promoted the information construction of related industries, which is conducive to simplifying the work process of relevant personnel, improving work efficiency and enhancing work happiness.

1.5 Organizational structure of the paper

The organizational structure of the design and implementation of the conventional emergency material management system based on SpringBoot+Vue can be roughly divided into seven chapters, the specific content is as follows:

The first chapter is the introduction. This chapter mainly introduces the background, current situation and methods of the system. According to the research background and significance, introduce the research background and theoretical basis of the system to be designed, and then understand the actual research situation of the current related system software products through the research status at home and abroad, and finally summarize the entire development of the system through the research content and methods The process and implementation steps provide reliable theoretical basis and technical support for the system.

The second chapter is the introduction of related technologies. This chapter mainly introduces the related technologies used in development. The main development technologies used in this system include Java language, SSM framework, MySQL database, etc., and the development mode used is B/S architecture. Among them, the Java language is cross-platform and highly portable, and can support running the system on different browsers. The MySQL database occupies less memory and executes quickly. It is a very good choice for data management of small and medium-sized systems.

The third chapter is system analysis. The system analysis stage is mainly to analyze the requirements and feasibility of the system, plan the function design of the system, and judge the possibility of system realization. According to the demand analysis, confirm the user's basic functional requirements for the system, and then analyze the practical significance and use value of system development, the stability of system performance and the convenience of functional operation through economic, operational and legal feasibility analysis. and the likelihood of success in the market.

The fourth chapter is system design. This chapter mainly introduces the overall function design and database design of the system. By introducing the overall functional design of the system, the functional modules that the system actually needs to be designed are planned and designed, which is convenient for relevant technical personnel to design the functional modules of the system and prepare for the work. Then, by introducing the database design, it is easy to design a data table that can be stored and controlled by the database, which is beneficial to the relevant designers to manage the necessary data resources, maintain and update the security of data information.

The fifth chapter is the system realization. The system realization stage is mainly to explain the functional modules such as material information management and material transportation management. Through the system analysis, function and database design and other related contents introduced earlier, the system function modules are realized in detail. This process is the specific implementation stage of the system. From the perspective of the overall design of the system, the necessary analysis of the realization of the system shows that this stage is extremely important and directly related to the user's experience of using the system.

The sixth chapter is system testing. This chapter mainly describes the content related to testing. This system mainly uses the function test method to check and test the main functions of the system, test whether the designed system functions can be used normally, and the user can operate and use normally, and whether there is any abnormality during the operation of the system, such as abnormal operation, abnormal data, The results are abnormal, etc., and according to the test results, the corresponding test summary is given, and relevant conclusions are drawn to show whether the system meets the expected requirements and design purposes.

Chapter 2 Introduction to Development Technology 

2.1 B/S Architecture

As far as the current situation of software development is concerned, the main system development structural models currently used can be roughly divided into C/S model and B/S model [5]. When using the system developed based on the C/S mode, the user must download the corresponding client, that is, the application program, in order to operate and use the relevant functional modules of the software system. From the user's point of view, due to the cumbersome steps of downloading and installing the client, it is necessary to ensure the stability of the download speed and the correctness of the installation steps, which increases the possibility of users giving up using the system. It can be seen that the C/S mode has great limitations.

Because the C/S mode is suitable for a small-scale local area network and has good communication efficiency, in the era when the system scale was small, the C/S mode was mainly used to develop the system. With the development of the times and the progress of society, the C/S model is increasingly unable to meet the design needs of developers and the needs of users. At present, the C/S mode can no longer meet the actual system programming requirements. Therefore, the B/S mode was proposed based on the C/S mode, and has gradually developed into the mainstream development structure mode in recent years. The system developed in the B/S mode no longer requires users to download and install the corresponding application program, and directly uses the browser to enter the correct website address to realize the related functional operation of the system in the form of visiting the website. This feature has greatly improved the development and design under the C/S mode. Of course, the premise of using this system is to ensure that the account number and password are legal.

2.2 Java language

The Java language is a programming language that encapsulates data and operation methods into objects as a whole, and it has an excellent technical architecture. Currently in the market, a large part of the application system is mainly developed using the Java language [6]. The Java language has the advantages of being easy to understand, easy to operate, and strong robustness. Developers can understand and master the Java language in a short period of time, and apply it to the specific system development process. For system memory management problems, the Java language provides a garbage collection mechanism internally to solve such problems. In order to greatly simplify the difficulty of development and programming, the Java language also improves the pointer in the C language into a reference, so it is loved by many developers. The Java language also has the characteristics of cross-platform, which means that its portability is very high. This feature is beneficial for developers to update and maintain related codes. The system developed by it can support opening in different browsers. Because the system developed using Java has strong compatibility and high code versatility, in order to facilitate the improvement and maintenance of the system later, I finally choose to use Java language to develop this system.

2.3 SSM framework

The SSM framework is mainly integrated by the three frameworks of Spring, SpringMVC and MyBatis. It is a popular Java development framework and can be applied to the design and construction of large and medium-sized applications. Spring is a lightweight, open-source Java development framework that emerged decades ago. Using it can solve related system object creation and object dependency problems, and can also decompose a highly coupled system into low-coupled multiple It is convenient to carry out a clear division of labor on the system modules, understand and modify the function codes, which greatly reduces the development pressure of the designers [7]. The SpringMVC framework is proposed based on the Spring framework. It takes the MVC three-tier architecture as the core and integrates Spring's related technologies. It mainly focuses on the technical architecture of the Web side. The user request to make a certain response processing. The MyBatis framework is an open source Java persistence layer framework. It mainly improves the way of manually setting parameters and obtaining result records, and by supporting the processing of stored procedures and advanced mapping on the database, it makes the operation of the database more customized and transparent. , thus reducing the complexity of database access and improving the efficiency of development.

2.4 vue framework

The vue framework is a progressive framework for building related user interfaces, so that you can control the labels of a certain system page, or control the different labels of the entire page, or control the different labels of the entire front-end project[8] . The code written using the Vue framework no longer needs to manually update the variable value of the related control. When the value of the variable bound to it changes, the related component will be automatically updated. The vue framework mainly designs and creates the user interface of the system in a bottom-up manner, and the vue framework only focuses on the layer content. In this way, it can not only provide complex and cumbersome single-page The corresponding driver can also integrate third-party libraries or related projects. Because the grammar definition of the vue framework is simple and relatively easy to learn and master, most of the relevant development technicians choose to use the vue framework to write relevant front-end page display codes and create corresponding system website pages. Such a page design is convenient for users to query relevant data information and understand the operation and use of the system.

2. 5 MySQL database

The MySQL database is a frequently used relational database. Because it has the advantages of open source and free, less memory, simple installation, convenient operation, and flexible use, it is often used in small and medium-sized system development [9]. The MySQL database can support multi-threading, and can respond to the needs of multiple users at the same time. The MySQL database also comes with an optimizer, which is convenient for designers to quickly query relevant data information during use. In addition, the SQLServer database is also frequently used at present. It is relatively good in terms of data security and system stability. and above system development. The MySQL database also has many application programming interfaces for use in related programming languages. The codes written are extremely versatile and maintainable, and the MySQL database can quickly process thousands of data records. , can quickly restore through the log file. Compared with the SQLServer database, the MySQL database has a great advantage in terms of cost, memory size, code commonality, data maintenance, and ease of operation. In the eyes of database designers, the actual application of the MySQL database Great value.

Chapter Three  System Analysis 

3.1 System requirements analysis

The requirements analysis stage is the general direction of designing system function modules. It can be said that the entire development process and design progress of the system are basically based on requirements analysis [10]. In the requirements analysis stage, the basic functional design of the system can be determined, and in the final system acceptance stage, by comparing the requirements analysis report, it can be verified whether the functional design of the system is reasonable and whether it can meet the basic needs of users, and finally judge and summarize whether the system is successful Reality. This paper mainly analyzes the relevant functions required by the conventional emergency material management system through questionnaire survey [11]. According to the survey results, there are mainly two types of system users, one is the user role type whose main purpose is use, and the other is the administrator role type whose main purpose is management. The main functional requirements of this system include modules such as material information management and material transportation management. Among them, password information, user information, material information, material transportation information, etc. are very important data records. In the process of system design, certain encryption processing is required to ensure data security and effectively protect important information of users. .

3.2 Feasibility analysis of the system

3.2.1 Economic feasibility

The economic feasibility analysis of the system can also be called the economic feasibility study of the system. It starts from the economic development of the society and conducts a comprehensive and specific analysis of the cost-benefit situation by studying the feasibility of the entire system. And according to the analyzed feasibility report, provide relevant investors with the most scientific decision-making theory and optimal investment plan. The development of this system has promoted the information management of related industries. Managers can directly publish the website address of the conventional emergency material management system on the browser, and users can selectively operate related functions of the system according to certain needs. This method breaks the constraints of time and space, and enables related industries to maximize the management of information about conventional emergency supplies in a short period of time. Moreover, most of the development technologies and related tools used in this system are open source and free, so it can save a lot of development costs. Based on the analysis of the above contents, it can be seen that the realization of this system is feasible on the economic level.

3.2.2 Technical Feasibility

This system is developed based on the Java language. Because the Java language is easy to learn, strong in stability, and high in code utilization, many development technicians like to use the Java language for system design. Nowadays, the research and development of many program systems are designed by using the Java language for coding. In addition, the Java language also has the advantage of cross-platform, which means that the designed system has nothing to do with the platform, which means that the system developed by the Java language can support running and using on different browsers. Under roughly the same conditions, compared with other databases, this system uses MySQL database with simple and easy-to-understand syntax, and database designers can master and use it as quickly as possible. The MySQL database also has the characteristics of less system memory, complete functions, fast response speed, and no charge for use. It can process thousands of information records in a very short period of time, so it can ensure that the system can run and work efficiently. Based on the analysis of the above content, it can be seen that the realization of the system is feasible at the technical level.

3.2.3 Operation Feasibility

Today, people's daily life is inseparable from the use of the Internet. To a certain extent, the informatization construction of related industries promotes the development of society. By using the application program on the mobile phone, for example, by using the e-commerce system, people can realize functions such as online shopping and online payment; by using the official website of the country, they can check the latest news and declare personal business; Online appointment registration, online viewing of physical examination reports and other operations. In the background of these applications, this system uses the B/S development structure model. The website interface is mainly designed with humanization, which has the advantages of being beautiful, friendly, and interactive. Users do not need to master certain programming techniques, and can directly Perform simple functional operations on the system to meet your own needs. This system also designs some prompt information, which is convenient for users to better understand the related functions of the system, and to use the system in the correct operation mode quickly. Based on the analysis of the above content, it can be seen that the realization of the system is feasible at the operational level.

Chapter 4 System Design 

4.1 Overall functional design of the system

The overall functional design phase of the system is the process of planning the overall functional design of the system by combining the relevant content of the system analysis phase. The overall functional design of the system is a general direction of the detailed functional design of the system, that is to say, the design of various sub-functional modules of the system is carried out with the overall functional design as the goal. Through the requirements analysis of the system, we can get a general understanding of the relevant main functional modules that the system specifically needs. The main functional requirements of this system include modules such as material information management and material transportation management. Figure 4-1 shows the administrator function design diagram, and Figure 4-2 shows the user function design diagram.

Figure 4-1 Administrator function design diagram

Figure 4-2 User function design diagram

4.2 Database design

4.2.1 Conceptual Design

This system uses a lightweight MySQL database to manage and maintain system-related data information [12]. The database design phase can generally be divided into two phases: conceptual design and logical design. The conceptual design stage is an important basis for the database design of the system. It abstracts the relevant needs of users in the real world into a conceptual model in the virtual world, and prepares for the subsequent logical design. By designing the ER diagram, I express the entities in the system and the links between entities in detail. The entity attribute diagrams of each entity information are shown in Figure 4-3, Figure 4-4, Figure 4-5, Figure 4-6, Figure 4-7, Figure 4-8, Figure 4-9, and Figure 4-10. The overall ER diagram of the system is shown in Figure 4-11.

Figure 4-3 Administrator information entity attribute diagram

Figure 4-4 User information entity attribute diagram

Figure 4-5 dictionary information entity attribute diagram

Figure 4-6 Department Information Entity Attribute Map

Figure 4-7 Material information entity attribute diagram

Figure 4-8 Material application information entity attribute diagram

Figure 4-9 Material transportation information entity attribute diagram

Figure 4-10 Health check-in information entity attribute diagram

Figure 4-11 System overall ER diagram

4.2.2 Logic Design

The main work in the logical design stage is to convert the ER diagram in the conceptual design into a two-dimensional table form that is convenient for the system to store and manage. This stage can also be called the detailed design of the database, which is directly related to the normal operation of the system function modules, the normal update of data information, etc. [13]. During the design process, it is necessary to fully consider the standardization and rationality of the database so that the functional and performance requirements of the system can be met. The data table design content related to this system is as follows.

Table 4-1 Administrator information table

serial number

column name

type of data

illustrate

allow empty

1

id

Int

serial number

no

2

username

String

username

yes

3

password

String

password

yes

4

role

String

Role

yes

5

addtime

Date

add time

yes

Table 4-2 User information table

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

username

String

account

yes

3

password

String

password

yes

4

bumen_id

Integer

department

yes

5

yonghu_name

String

username

yes

6

yonghu_phone

String

User phone number

yes

7

yonghu_id_number

String

User ID number

yes

8

yonghu_photo

String

profile picture

yes

9

sex_types

Integer

gender

yes

10

yonghu_email

String

E-mail

yes

11

create_time

Date

creation time

yes

Table 4-3 Dictionary information table

serial number

column name

type of data

illustrate

allow empty

1

id

Int

serial number

no

2

dic_code

String

field

yes

3

dic_name

String

field name

yes

4

code_index

Integer

coding

yes

5

index_name

String

encoding name

yes

6

super_id

Integer

parent field number

yes

7

beizhu

String

Remark

yes

8

create_time

Date

creation time

yes

Table 4-4 Department information table

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

bumen_name

String

Department name

yes

3

bumen_zhize

String

Departmental responsibilities

yes

4

bumen_number

Integer

department headcount

yes

5

bumen_content

String

Department introduction

yes

6

insert_time

Date

add time

yes

7

create_time

Date

creation time

yes

Table 4-5 Material Information Table

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

wuzi_name

String

Material name

yes

3

wuzi_photo

String

material photo

yes

4

wuzi_types

Integer

material type

yes

5

wuzi_kucun_number

Integer

Material inventory

yes

6

wuzi_danwei

String

unit

yes

7

wuzi_delete

Integer

Tombstone

yes

8

wuzi_content

String

Material introduction

yes

9

create_time

Date

creation time

yes

Table 4-6 Material Application Information Form

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

yonghu_id

Integer

user

yes

3

wuzi_id

Integer

supplies

yes

4

wuzishenqing_number

Integer

Number of applications

yes

5

wuzishenqing_content

String

Application details

yes

6

insert_time

Date

application time

yes

7

wuzishenqing_yesno_types

Integer

review

yes

8

wuzishenqing_yesno_text

String

Audit opinion

yes

9

create_time

Date

creation time

yes

Table 4-7 Material transportation information table

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

wuzi_id

Integer

supplies

yes

3

wuziyunshu_uuid_number

String

Shipping Unique Number

yes

4

wuziyunshu_quxiang

String

whereabouts

yes

5

wuziyunshu_number

Integer

Shipping Quantity

yes

6

wuziyunshu_content

String

Shipping Details

yes

7

wuziyunshu_types

Integer

current status

yes

8

insert_time

Date

add time

yes

9

update_time

Date

last updated

yes

10

create_time

Date

creation time

yes

Table 4-8 Health check-in information table

serial number

column name

type of data

illustrate

allow empty

1

Id

Int

id

no

2

yonghu_id

Integer

user

yes

3

daka_content

String

Punch Remarks

yes

4

insert_time

date

Punch date

yes

5

create_time

Date

creation time

yes

Chapter 5 System Implementation 

5.1管理员角色功能设计

5.1.1管理员首页

通过设计的首页功能模块,管理用户可以成功登录系统,并且选择点击相关的功能模块按钮,操作和实现自己所需要的功能,管理员首页解饿设计如图5-1所示。

图5-1管理员首页界面

本功能模块的核心代码如下:

/**

 * 登录

 */

@IgnoreAuth

@PostMapping(value = "/login")

public R login(String username, String password, String captcha, HttpServletRequest request) {

UsersEntity user = usersService.selectOne(new EntityWrapper<UsersEntity>().eq("username", username));

if(user==null || !user.getPassword().equals(password)) {

return R.error("账号或密码不正确");

}

String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());

R r = R.ok();

r.put("token", token);

r.put("role",user.getRole());

r.put("userId",user.getId());

return r;

}

/**

     * 列表

     */

    @RequestMapping("/page")

    public R page(@RequestParam Map<String, Object> params,UsersEntity user){

        EntityWrapper<UsersEntity> ew = new EntityWrapper<UsersEntity>();

     PageUtils page = usersService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));

        return R.ok().put("data", page);

}

5.1.2个人中心

通过设计的个人中心功能模块,管理用户可以选择修改账号密码,查看个人资料信息,通过不定期的对个人账户密码进行更新,保障个人信息安全,修改密码界面设计如图5-1所示,个人信息界面设计如图5-2所示。

图5-1修改密码界面

图5-2个人信息界面

本功能模块的核心代码如下:

/**

     * 密码重置

     */

    @IgnoreAuth

@RequestMapping(value = "/resetPass")

    public R resetPass(String username, HttpServletRequest request){

     UsersEntity user = usersService.selectOne(new EntityWrapper<UsersEntity>().eq("username", username));

     if(user==null) {

     return R.error("账号不存在");

     }

     user.setPassword("123456");

        usersService.update(user,null);

        return R.ok("密码已重置为:123456");

}

/**

     * 信息

     */

    @RequestMapping("/info/{id}")

    public R info(@PathVariable("id") String id){

        UsersEntity user = usersService.selectById(id);

        return R.ok().put("data", user);

}

5.1.3健康打卡管理

通过设计的健康打卡管理功能模块,管理用户可以管理相关的健康打卡信息记录,比如进行查看健康打卡的详细信息,修改健康打卡的日期信息,删除已经失效的健康打卡信息记录等操作,健康打卡管理界面设计如图5-3所示。

图5-3健康打卡管理界面

本功能模块的核心代码如下:

 /**

    * 健康打卡后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody DakaEntity daka, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,daka:{}",this.getClass().getName(),daka.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

//        if(false)

//            return R.error(511,"永远不会进入");

//        else if("用户".equals(role))

//            daka.setYonghuId(Integer.valueOf(String.valueOf(request.getSession().getAttribute("userId"))));

        //根据字段查询是否有相同数据

        Wrapper<DakaEntity> queryWrapper = new EntityWrapper<DakaEntity>()

            .notIn("id",daka.getId())

            .andNew()

            .eq("yonghu_id", daka.getYonghuId())

            .eq("insert_time", new SimpleDateFormat("yyyy-MM-dd").format(daka.getInsertTime()))

            ;

        logger.info("sql语句:"+queryWrapper.getSqlSegment());

        DakaEntity dakaEntity = dakaService.selectOne(queryWrapper);

        if(dakaEntity==null){

            dakaService.updateById(daka);//根据id更新

            return R.ok();

        }else {

            return R.error(511,"表中有相同数据");

        }

    }

5.1.4基础数据管理

通过设计的基础数据管理功能模块,管理用户可以管理相关的物资类型信息记录,比如进行查看物资类型的详细信息,修改物资类型的名称信息,删除已经失效的物资类型信息记录等操作,物资类型管理界面设计如图5-4所示。

图5-4物资类型管理界面

本功能模块的核心代码如下:

 /**

    * 基础数据后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody DictionaryEntity dictionary, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,dictionary:{}",this.getClass().getName(),dictionary.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

//        if(false)

//            return R.error(511,"永远不会进入");

        //根据字段查询是否有相同数据

        Wrapper<DictionaryEntity> queryWrapper = new EntityWrapper<DictionaryEntity>()

            .notIn("id",dictionary.getId())

            .eq("dic_code", dictionary.getDicCode())

            .eq("index_name", dictionary.getIndexName())

            ;

        if(dictionary.getDicCode().contains("_erji_types")){

            queryWrapper.eq("super_id",dictionary.getSuperId());

        }

        logger.info("sql语句:"+queryWrapper.getSqlSegment());

        DictionaryEntity dictionaryEntity = dictionaryService.selectOne(queryWrapper);

        if(dictionaryEntity==null){

            dictionaryService.updateById(dictionary);//根据id更新

            //如果字典表修改数据的话,把数据再重新查出,放入监听器中

            List<DictionaryEntity> dictionaryEntities = dictionaryService.selectList(new EntityWrapper<DictionaryEntity>());

            ServletContext servletContext = request.getServletContext();

            Map<String, Map<Integer,String>> map = new HashMap<>();

            for(DictionaryEntity d :dictionaryEntities){

                Map<Integer, String> m = map.get(d.getDicCode());

                if(m ==null || m.isEmpty()){

                    m = new HashMap<>();

                }

                m.put(d.getCodeIndex(),d.getIndexName());

                map.put(d.getDicCode(),m);

            }

            servletContext.setAttribute("dictionaryMap",map);

            return R.ok();

        }else {

            return R.error(511,"表中有相同数据");

        }

}

5.1.5物资管理

通过设计的物资管理功能模块,管理用户可以管理相关的物资信息记录,比如进行查看物资的详细信息,修改物资的库存信息,删除已经失效的物资信息记录等操作,物资管理界面设计如图5-5所示。

图5-5物资管理界面

本功能模块的核心代码如下:

/**

    * 物资后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody WuziEntity wuzi, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,wuzi:{}",this.getClass().getName(),wuzi.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

//        if(false)

//            return R.error(511,"永远不会进入");

        //根据字段查询是否有相同数据

        Wrapper<WuziEntity> queryWrapper = new EntityWrapper<WuziEntity>()

            .notIn("id",wuzi.getId())

            .andNew()

            .eq("wuzi_name", wuzi.getWuziName())

            .eq("wuzi_types", wuzi.getWuziTypes())

            .eq("wuzi_kucun_number", wuzi.getWuziKucunNumber())

            .eq("wuzi_danwei", wuzi.getWuziDanwei())

            .eq("wuzi_delete", wuzi.getWuziDelete())

            ;

        logger.info("sql语句:"+queryWrapper.getSqlSegment());

        WuziEntity wuziEntity = wuziService.selectOne(queryWrapper);

        if("".equals(wuzi.getWuziPhoto()) || "null".equals(wuzi.getWuziPhoto())){

                wuzi.setWuziPhoto(null);

        }

        if(wuziEntity==null){

            wuziService.updateById(wuzi);//根据id更新

            return R.ok();

        }else {

            return R.error(511,"表中有相同数据");

        }

}

5.1.6物资申请管理

通过设计的物资申请管理功能模块,管理用户可以管理相关的物资申请信息记录,比如进行查看物资申请的详细信息,修改物资的申请时间信息,删除已经失效的物资申请信息记录等操作,物资申请管理界面设计如图5-6所示。

图5-6物资申请管理界面

本功能模块的核心代码如下:

/**

    * 物资申请后端保存

    */

    @RequestMapping("/save")

    public R save(@RequestBody WuzishenqingEntity wuzishenqing, HttpServletRequest request){

        logger.debug("save方法:,,Controller:{},,wuzishenqing:{}",this.getClass().getName(),wuzishenqing.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

        if(false)

            return R.error(511,"永远不会进入");

        else if("用户".equals(role))

            wuzishenqing.setYonghuId(Integer.valueOf(String.valueOf(request.getSession().getAttribute("userId"))));

            wuzishenqing.setInsertTime(new Date());

            wuzishenqing.setWuzishenqingYesnoTypes(1);

            wuzishenqing.setCreateTime(new Date());

            wuzishenqingService.insert(wuzishenqing);

            return R.ok();

    }

    /**

    * 物资申请后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody WuzishenqingEntity wuzishenqing, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,wuzishenqing:{}",this.getClass().getName(),wuzishenqing.toString());

            wuzishenqingService.updateById(wuzishenqing);//根据id更新

            return R.ok();

}

5.1.7物资运输管理

通过设计的物资运输管理功能模块,管理用户可以管理相关的物资运输信息记录,比如进行查看物资运输的详细信息,修改物资运输的当前状态信息,删除已经失效的物资运输信息记录等操作,物资运输管理界面设计如图5-7所示。

图5-7物资运输管理界面

本功能模块的核心代码如下:

 /**

    * 物资运输后端保存

    */

    @RequestMapping("/save")

    public R save(@RequestBody WuziyunshuEntity wuziyunshu, HttpServletRequest request){

        logger.debug("save方法:,,Controller:{},,wuziyunshu:{}",this.getClass().getName(),wuziyunshu.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

        if(false)

            return R.error(511,"永远不会进入");

            wuziyunshu.setUpdateTime(new Date());

            wuziyunshu.setInsertTime(new Date());

            wuziyunshu.setCreateTime(new Date());

            wuziyunshuService.insert(wuziyunshu);

            return R.ok();

    }

    /**

    * 物资运输后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody WuziyunshuEntity wuziyunshu, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,wuziyunshu:{}",this.getClass().getName(),wuziyunshu.toString());

        wuziyunshu.setUpdateTime(new Date());

            wuziyunshuService.updateById(wuziyunshu);//根据id更新

            return R.ok();

}

5.1.8用户管理

通过设计的用户管理功能模块,管理用户可以管理相关的用户信息资料,比如进行查看用户的详细资料,修改用户的联系方式,删除已经注销的用户信息记录等操作,用户管理界面设计如图5-8所示。

图5-8用户管理界面

本功能模块的核心代码如下:

/**

    * 用户后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody YonghuEntity yonghu, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,yonghu:{}",this.getClass().getName(),yonghu.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

//        if(false)

//            return R.error(511,"永远不会进入");

        //根据字段查询是否有相同数据

        Wrapper<YonghuEntity> queryWrapper = new EntityWrapper<YonghuEntity>()

            .notIn("id",yonghu.getId())

            .andNew()

            .eq("username", yonghu.getUsername())

            .or()

            .eq("yonghu_phone", yonghu.getYonghuPhone())

            .or()

            .eq("yonghu_id_number", yonghu.getYonghuIdNumber())

            ;

        logger.info("sql语句:"+queryWrapper.getSqlSegment());

        YonghuEntity yonghuEntity = yonghuService.selectOne(queryWrapper);

        if("".equals(yonghu.getYonghuPhoto()) || "null".equals(yonghu.getYonghuPhoto())){

                yonghu.setYonghuPhoto(null);

        }

        if(yonghuEntity==null){

            yonghuService.updateById(yonghu);//根据id更新

            return R.ok();

        }else {

            return R.error(511,"账户或者用户手机号或者用户身份证号已经被使用");

        }

}

5.1.9部门管理

通过设计的部门管理功能模块,管理用户可以管理相关的部门信息记录,比如进行查看部门的详细信息,修改部门的职责信息,删除已经失效的部门信息记录等操作,部门管理界面设计如图5-9所示。

图5-9部门管理界面

本功能模块的核心代码如下:

 /**

    * 部门后端修改

    */

    @RequestMapping("/update")

    public R update(@RequestBody BumenEntity bumen, HttpServletRequest request){

        logger.debug("update方法:,,Controller:{},,bumen:{}",this.getClass().getName(),bumen.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

//        if(false)

//            return R.error(511,"永远不会进入");

        //根据字段查询是否有相同数据

        Wrapper<BumenEntity> queryWrapper = new EntityWrapper<BumenEntity>()

            .notIn("id",bumen.getId())

            .andNew()

            .eq("bumen_name", bumen.getBumenName())

            .eq("bumen_zhize", bumen.getBumenZhize())

            .eq("bumen_number", bumen.getBumenNumber())

            ;

        logger.info("sql语句:"+queryWrapper.getSqlSegment());

        BumenEntity bumenEntity = bumenService.selectOne(queryWrapper);

        if(bumenEntity==null){

            bumenService.updateById(bumen);//根据id更新

            return R.ok();

        }else {

            return R.error(511,"表中有相同数据");

        }

    }

5.2用户功能设计

5.2.1用户首页

通过设计的首页功能模块,管理用户可以成功登录系统,并且选择点击相关的功能模块按钮,操作和实现自己所需要的功能,管理员首页解饿设计如图5-10所示。

图5-10用户首页界面

本功能模块的核心代码如下:

/**

    * 首页后端保存

    */

    @RequestMapping("/save")

    public R save(@RequestBody YonghuEntity yonghu, HttpServletRequest request){

        logger.debug("save方法:,,Controller:{},,yonghu:{}",this.getClass().getName(),yonghu.toString());

        String role = String.valueOf(request.getSession().getAttribute("role"));

        if(false)

            return R.error(511,"永远不会进入");

        Wrapper<YonghuEntity> queryWrapper = new EntityWrapper<YonghuEntity>()

            .eq("username", yonghu.getUsername())

            .or()

            .eq("yonghu_phone", yonghu.getYonghuPhone())

            .or()

            .eq("yonghu_id_number", yonghu.getYonghuIdNumber())

            ;

 logger.info("sql语句:"+queryWrapper.getSqlSegment());

        YonghuEntity yonghuEntity = yonghuService.selectOne(queryWrapper);

        if(yonghuEntity==null){

            yonghu.setCreateTime(new Date());

            yonghu.setPassword("123456");

            yonghuService.insert(yonghu);

            return R.ok();

        }else {

            return R.error(511,"账户或者用户手机号或者用户身份证号已经被使用");

        }

    }

5.2.2个人中心

通过设计的个人中心管理功能模块,用户可以选择查看个人资料信息,选择更新个人相关的资料信息记录;也可以选择修改账号密码,通过不定期的对个人账户密码进行更新,保障个人信息安全,修改密码界面设计如图5-11所示,个人信息界面设计如图5-12所示。

图5-11修改密码界面

图5-12个人信息界面

本功能模块的核心代码如下:

//查询是否重复

                         //账户

                        List<YonghuEntity> yonghuEntities_username = yonghuService.selectList(new EntityWrapper<YonghuEntity>().in("username", seachFields.get("username")));

                        if(yonghuEntities_username.size() >0 ){

                            ArrayList<String> repeatFields = new ArrayList<>();

                            for(YonghuEntity s:yonghuEntities_username){

                                repeatFields.add(s.getUsername());

                            }

                            return R.error(511,"数据库的该表中的 [账户] 字段已经存在 存在数据为:"+repeatFields.toString());

                        }

                         //用户手机号

                        List<YonghuEntity> yonghuEntities_yonghuPhone = yonghuService.selectList(new EntityWrapper<YonghuEntity>().in("yonghu_phone", seachFields.get("yonghuPhone")));

                        if(yonghuEntities_yonghuPhone.size() >0 ){

                            ArrayList<String> repeatFields = new ArrayList<>();

                            for(YonghuEntity s:yonghuEntities_yonghuPhone){

                                repeatFields.add(s.getYonghuPhone());

                            }

                            return R.error(511,"数据库的该表中的 [用户手机号] 字段已经存在 存在数据为:"+repeatFields.toString());

                        }

                         //用户身份证号

                        List<YonghuEntity> yonghuEntities_yonghuIdNumber = yonghuService.selectList(new EntityWrapper<YonghuEntity>().in("yonghu_id_number", seachFields.get("yonghuIdNumber")));

                        if(yonghuEntities_yonghuIdNumber.size() >0 ){

                            ArrayList<String> repeatFields = new ArrayList<>();

                            for(YonghuEntity s:yonghuEntities_yonghuIdNumber){

                                repeatFields.add(s.getYonghuIdNumber());

                            }

                            return R.error(511,"数据库的该表中的 [用户身份证号] 字段已经存在 存在数据为:"+repeatFields.toString());

                        }

                        yonghuService.insertBatch(yonghuList);

                        return R.ok();

                    }

5.2.3健康打卡管理

通过设计的健康打卡管理功能模块,用户可以管理相关的健康打卡信息记录,比如进行查看健康打卡的详细信息,修改健康打卡的日期信息,删除已经失效的健康打卡信息记录等操作,健康打卡管理界面设计如图5-13所示。

图5-13健康打卡管理界面

本功能模块的核心代码如下:

/**

    * 健康打卡后端详情

    */

    @RequestMapping("/info/{id}")

    public R info(@PathVariable("id") Long id, HttpServletRequest request){

        logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);

        DakaEntity daka = dakaService.selectById(id);

        if(daka !=null){

            //entity转view

            DakaView view = new DakaView();

            BeanUtils.copyProperties( daka , view );//把实体数据重构到view中

                //级联表

                YonghuEntity yonghu = yonghuService.selectById(daka.getYonghuId());

                if(yonghu != null){

                    BeanUtils.copyProperties( yonghu , view ,new String[]{ "id", "createTime", "insertTime", "updateTime"});//把级联的数据添加到view中,并排除id和创建时间字段

                    view.setYonghuId(yonghu.getId());

                }

            //修改对应字典表字段

            dictionaryService.dictionaryConvert(view, request);

            return R.ok().put("data", view);

        }else {

            return R.error(511,"查不到数据");

        }

}

5.2.4物资管理

通过设计的物资管理功能模块,管理用户可以查看相关的物资信息记录,可以查到物资名称、物资图片、物资类型、物资库存等详细信息,物资管理界面设计如图5-14所示。

图5-14物资管理界面

本功能模块的核心代码如下:

/**

    * 物资后端详情

    */

    @RequestMapping("/info/{id}")

    public R info(@PathVariable("id") Long id, HttpServletRequest request){

        logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);

        WuziEntity wuzi = wuziService.selectById(id);

        if(wuzi !=null){

            //entity转view

            WuziView view = new WuziView();

            BeanUtils.copyProperties( wuzi , view );//把实体数据重构到view中

            //修改对应字典表字段

            dictionaryService.dictionaryConvert(view, request);

            return R.ok().put("data", view);

        }else {

            return R.error(511,"查不到数据");

        }

}

5.2.5物资申请管理

通过设计的物资申请管理功能模块,用户可以管理相关的物资申请信息记录,比如进行查看物资申请的详细信息,新增相关的物资申请信息记录,物资申请管理界面设计如图5-15所示。

图5-15物资申请管理界面

本功能模块的核心代码如下:

/**

    * 物资申请后端详情

    */

    @RequestMapping("/info/{id}")

    public R info(@PathVariable("id") Long id, HttpServletRequest request){

        logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);

        WuzishenqingEntity wuzishenqing = wuzishenqingService.selectById(id);

        if(wuzishenqing !=null){

            //entity转view

            WuzishenqingView view = new WuzishenqingView();

            BeanUtils.copyProperties( wuzishenqing , view );//把实体数据重构到view中

                //级联表

                WuziEntity wuzi = wuziService.selectById(wuzishenqing.getWuziId());

                if(wuzi != null){

                    BeanUtils.copyProperties( wuzi , view ,new String[]{ "id", "createTime", "insertTime", "updateTime"});//把级联的数据添加到view中,并排除id和创建时间字段

                    view.setWuziId(wuzi.getId());

                }

                //级联表

                YonghuEntity yonghu = yonghuService.selectById(wuzishenqing.getYonghuId());

                if(yonghu != null){

                    BeanUtils.copyProperties( yonghu , view ,new String[]{ "id", "createTime", "insertTime", "updateTime"});//把级联的数据添加到view中,并排除id和创建时间字段

                    view.setYonghuId(yonghu.getId());

                }

            //修改对应字典表字段

            dictionaryService.dictionaryConvert(view, request);

            return R.ok().put("data", view);

        }else {

            return R.error(511,"查不到数据");

        }

}

5.2.6物资运输管理

通过设计的物资运输管理功能模块,用户可以查看相关的物资运输信息记录,比如查到物资名称、物资图片、单位、运输数量、当前状态等详细信息,物资运输管理界面设计如图5-16所示。

图5-16物资运输管理界面

本功能模块的核心代码如下:

 /**

    * 物资运输后端详情

    */

    @RequestMapping("/info/{id}")

    public R info(@PathVariable("id") Long id, HttpServletRequest request){

        logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);

        WuziyunshuEntity wuziyunshu = wuziyunshuService.selectById(id);

        if(wuziyunshu !=null){

            //entity转view

            WuziyunshuView view = new WuziyunshuView();

            BeanUtils.copyProperties( wuziyunshu , view );//把实体数据重构到view中

                //级联表

                WuziEntity wuzi = wuziService.selectById(wuziyunshu.getWuziId());

                if(wuzi != null){

                    BeanUtils.copyProperties( wuzi , view ,new String[]{ "id", "createTime", "insertTime", "updateTime"});//把级联的数据添加到view中,并排除id和创建时间字段

                    view.setWuziId(wuzi.getId());

                }

            //修改对应字典表字段

            dictionaryService.dictionaryConvert(view, request);

            return R.ok().put("data", view);

        }else {

            return R.error(511,"查不到数据");

        }

    }

章  系统测试

6.1 测试概述

系统测试是将系统的软件、硬件看成一个整体,对系统相关功能模块设计进行测试。系统测试阶段首要的工作任务就是根据相关的测试要求书,检验系统开发是否可以达到所规定的设计要求。在测试的过程中,可以在非常短的时间中,快速地查找系统存在漏洞,并尽快对其进行解决和处理,达到改进和完善系统的目的[14]。白盒测试和黑盒测试是相关测试人员使用较多的两种测试方法。白盒测试又被称为结构测试,其主要通过对系统的内部代码、结构进行测试,检测系统的代码结构、逻辑关系、数据结构等内容是否是合理的、有效的,对于某些设计不合理的代码,测试人员将形成相关的程序清单,并将其反馈给开发技术人员,再由开发技术人员对代码进行一定的修改[15]。黑盒测试又被称为功能测试,其主要通过对系统的用户界面、功能实现进行测试,检测相关的功能模块是否设计合理,能否正常使用。测试人员会记录某些设计不合理的,或者不能正常操作的功能模块,并将其撰写成相关的测试报告,并将相关报告告知相关开发人员,开发技术人员根据测试报告,对系统进行更新和完善[16]。除此之外,还有性能测试、单元测试、安全测试等,本人主要使用功能测试对本系统进行检验。

6.2 测试结果

在不同的操作系统、浏览器等测试环境中,对常规应急物资管理系统进行测试,在一定程度上,也影响着系统的测试结果。为了加强系统的适用性和稳定性,本人通过在windows10操作系统的计算机上,使用360、谷歌、IE等不同类型的浏览器,对系统进行了详细的功能测试。测试流程图如图6-1所示,用户登录测试如图6-2、图6-3所示,物资管理测试如图6-4、图6-5所示。

图6-5查询物资信息成功界面

本系统主要使用功能测试的方法进行测试,系统测试的结果表明,本人开发的基于SpringBoot+Vue的常规应急物资管理系统,虽然还存在着一些不足,比如页面不够美观,数据安全有待加强等,但是整体来说,能够满足相关行业管理常规应急物资的相关功能需求,并且有利于改进整个相关行业的管理模式,提高服务质量,提升管理水平。因此,本系统的设计与实现基本上是比较成功。

结    论

本文首先通过介绍课题的研究现状、研究方法等内容,解释系统的研发所具备实用价值和理论依据,便于初步地了解和认识系统。其次通过介绍系统的开发工具,阐明系统开发的实现可能以及技术支持,接着通过系统分析过程,分析系统的研发在现实生活中的需求情况以及运用可行性,再通过设计系统的功能模块、数据库表格等,详细的对系统功能进行设计,有利于更快更好的实现系统,最后通过测试过程,对设计的相关功能模块进行详细地测试,检查和查验相关功能在运行过程是是否会出现问题,能否满足使用需求。

整体来说,本系统的设计是比较理想的,但是由于本人经验不够丰富,时间不够充裕,所设计的系统功能可能不够完备,数据信息不够加密保障,用户界面不够交互,数据安全可能有待加强。本人将提高自己的专业技术水平,学习更加先进的计算机技术,并将其运用到系统的设计中,不断地对系统进行优化和完善,在未来设计出一款功能更强大、页面更美观、数据安全更高的系统软件,提高系统的实用价值,使其能够被到运用更多的应用场景中。

参考文献

[1]王金朔,孙延辉.基于SSM和Java的网上订餐系统设计[J].信息通信,2020(10):99-100.

[2]欧楠.计算机软件开发中 Java 语言的应用分析[J]. 信息与电脑(理论版),2019(04):110-111.

[3]周劼翀.计算机软件开发中 Java 编程语言的应用研究[J]. 信息与电脑(理论版), 2019(05): 131-132.

[4]马梓昂,贾克斌. 基于 Web 的高性能智能快递柜管理系统[J]. 计算机应用与软件,2020, 37(4): 1-5,47.

[5]张海宾.基于 C/S 架构客户端嵌入 B/S 架构系统的设计与实现[J].电子世界, 2020, 4(17): 125-126.

[6]杨兰.计算机软件开发的 JAVA 编程语言及其实际应用[J]. 电子设计工程, 2020, 25(21): 49-52+56.

[7]洪植林. 基于SSM框架的高校实验室信息管理系统的设计与实现[D]. 浙江:浙江工业大学,2020.

[8]徐鹏涛. 基于Vue的前端开发框架的设计与实现[D].山东大学, 2020.DOI:10.27272/d. cnki.gshdu.2020.000715.

[9]乔岚. 基于MyBatis 和 Spring 的JavaEE 数据持久层的研究与应用[J]. 信息与电脑(理论版),2019,378(08): 79-82.

[10]郭冰. 基于MySQL数据库的索引优化研究[J].信息与电脑(理论 版), 2019(12): 154-156+163.

[11]翟剑锟. Spring 框架技术分析及应用研究[D].中国科学院大学(工程管理与信息技术学院), 2020.

[12]梁琰.MySQL 数据库在 PHP 网页中的动态应用研究[J]. 电脑知识与技术, 2019, 15 (09): 7-8.

[13]陈年飞,王麒森,王志勃. MySQL 数据库中关于索引的研究[J]. 信息与电脑(理 论版), 2019(05): 175-176.

[14]张新华, 何永前. 软件测试方法概述[J]. 科技视界, 2019(4):125-125.

[15]Konstantins Gusarovs. An Analysis on Java Programming Language Decompiler Capabilities[J]. Applied Computer Systems,2019,23(2).

[16]Tan Yiyu. A Hardware-oriented Object Model for Java in an Embedded Processor[J]. Microprocessors and Microsystems,2020.

致    谢

大学生活将要结束了,这样想来,时间还真过得非常快。在本次的毕业设计过程中,我需要跟许多帮助过我的人表示最真诚地感谢。非常感谢我的导伦立军华老师,在导师的指导下,我汲取了很多书本上没有记录的专业知识,使得我成功地设计出了基于SpringBoot+Vue的常规应急物资管理系统,也顺利地撰写完了毕业论文。感谢我的同学和朋友们,正当我在设计系统遇到非常棘手的困难时,是我的同学和朋友们帮助我分析问题,寻找问题的最佳解决方案,而后得以成功地解决问题。感谢我的家人,一直不断地支持和鼓励我,为我提供了一个温暖的避风港,让我可以无忧无虑的在学校学习。感谢我的学校,为我们提供了一个师资力量雄厚、图书种类繁多的学习环境,让我们可以在一个良好的学习氛围中,学习到许多有价值的知识,可以使我扩充知识面,扩宽视野,积累专业知识,提高专业水平和能力。由此打下扎实的技术基础,在未来,有利于寻找更多的就业机会,更好的适应社会生活。

Guess you like

Origin blog.csdn.net/licongzhuo/article/details/131361303