Based on springboot Jiaying real estate company quality management system graduation project - with source code 453100

Topic Springboot Jiaying Real Estate Company Quality Management System

Table of contents

Summary 1

1 Introduction 1

1.1 Research background and significance 1

1.2 Research status and development trend at home and abroad1

1.3 Features of system development technology 1

1.4 Paper Structure and Chapter Arrangement 1

2 Systematic analysis of quality management system of Jiaying Real Estate Company 3

2.1 Feasibility analysis 3

2.2 System flow analysis 3

2.2.1 Data addition process 3

2.3.2 Data modification process 4

2.3.3 Data deletion process 4

2.3 System function analysis 4

2.3.1 Functional Analysis 4

2.3.2 Non-functional analysis 5

2.4 System use case analysis 6

2.5 Summary of this chapter 7

3 Overall Design of Quality Management System of Jiaying Real Estate Company 8

3.1 System architecture design 8

3.2 System function module design 8

3.2.1 Overall functional module design 9

3.2.2 Project quality inspection management module design 9

3.2.3 Vehicle registration module design 9

3.3 Database Design 10

3.3.1 Database conceptual structure design 10

3.3.2 Database logical structure design 14

3.4 Chapter Summary 16

4 Detailed Design and Implementation of Quality Management System of Jiaying Real Estate Company 17

4.1 User Function Module 17

4.1.1 Staff user home page interface 17

4.1.2 Employee user login interface 17

4.1.3 Employee user registration interface 2 0

4.1.4 Project quality inspection interface 2 4

4.1.5 Project quality rectification interface 24

4.1.6 Personal information interface 25

4.2 Administrator function module 25

4.2.1 User management interface 25

4.2.2 Project quality inspection management 27

4.2.3 Project quality rectification management 28

5 system test 3 0

5.1 The purpose of system testing 3 0

5.2 System test cases 3 0

5.3 System test results 3 1

Conclusion 3 2

Reference 33

Thanks 35

Summary

In the information society, there is a need for targeted information acquisition channels, but the expansion of channels is basically the direction that people are striving for. Due to the deviation in their perspective, people can often obtain different types of information, which is also the most difficult technology to overcome. topic. Aiming at the quality management system of Jiaying real estate company and other problems, the quality management system of Jiaying real estate company is studied and analyzed, and then the quality management system of Jiaying real estate company is developed and designed to solve the problems.

The main functional modules of Jiaying Real Estate Company's quality management system include user management, project quality inspection, and project quality rectification. It adopts an object-oriented development model for software development and hardware erection, which can well meet the needs of actual use and perfect The corresponding software construction and program coding work, MySQL is used as the main storage unit of the background data, and the springboot framework, Java technology, and Ajax technology are used to code and develop the business system, realizing all the functions of the system. This report first analyzes the background, function and significance of the research, laying the foundation for the rationality of the research work. Analyze the requirements and technical problems of the quality management system of Jiaying Real Estate Company, prove the necessity and technical feasibility of the system, then give a basic introduction to the technical software and design ideas that need to be used in the design system, and finally implement Jiaying Real Estate Company's quality management system is deployed and run using it.

Keywords : springboot technology; MYSQL; quality management system of Jiaying Real Estate Company

Abstract

In the information society, there is a need for targeted information access, but the expansion of access is basically the direction of people's efforts. Due to the deviation of the perspective, people can often obtain different types of information, which is also the most difficult subject for technology to overcome. Aiming at the quality management system of Jiaying real estate company, this paper studies and analyzes the quality management system of Jiaying real estate company, and then develops and designs the quality management system of Jiaying real estate company to solve the problem.

The main functional modules of the quality management system of Jiaying real estate company include user management, project quality inspection and project quality rectification. The object-oriented development mode is adopted for software development and hardware erection, which can well meet the needs of actual use, improve the corresponding software erection and program coding, take MySQL as the main storage unit of background data, and adopt springboot framework, Java technology Ajax technology encodes and develops the business system, and realizes all the functions of the system. This report first analyzes the background, function and significance of the research, which lays a foundation for the rationality of the research work. This paper analyzes the various requirements and technical problems of the quality management system of Jiaying real estate company, proves the necessity and technical feasibility of the system, and then makes a basic introduction to the technical software and design ideas needed to design the system. Finally, it realizes the quality management system of Jiaying real estate company and deploys and runs it.

Keywords:Springboot technology; MYSQL; Quality management system of Jiaying real estate company

1 Introduction

1.1 Research background and significance

With the development of my country's market economy and the improvement of people's living standards, the real estate industry has become a new growth point of the national economy. However, because domestic real estate enterprises do not have a good understanding of their own management level, many problems appear in the design and construction of real estate development projects, such as poor project quality, slow progress, high cost and so on. These phenomena not only cause a lot of waste of resources, but also reduce the economic benefits of the entire industry, affecting the healthy development of the entire national economy. Therefore, how to establish a scientific and perfect real estate quality management system is particularly important.

This article summarizes the current situation and existing problems of Jiaying Real Estate Company: First, we must strengthen the awareness of quality management and pay attention to it ideologically; second, we must establish and improve various rules and regulations to implement the system in practice; Fourth, we must focus on cultivating a high-quality quality management personnel team; fifth, we must continuously optimize the quality management model to ensure the realization of quality goals. Finally, it is necessary to increase publicity and establish the concept of "quality first". This paper adopts the method of linking theory with practice, and uses the combination of system theory and fuzzy mathematics to quantify the qualitative indicators, so as to draw more accurate conclusions. And according to the company's existing quality management status and some existing problems, it puts forward corresponding countermeasures and suggestions. It is hoped that the discussion of this paper can provide useful reference for other real estate companies and promote the sustainable, stable and harmonious development of the real estate market.

1.2 Research status and development trend at home and abroad

With the continuous deepening of my country's reform and opening up, economic construction has developed rapidly. People are becoming more and more aware of commodities. In this situation, how to improve product quality has become a very urgent and important issue. At present, many domestic enterprises are facing a series of new situations such as fast product replacement and great market changes, which requires us to seek solutions to problems from the whole production process to meet the needs of market economy development. Therefore, it is a major issue to be solved urgently at present to establish a complete set of quality system that is suitable for the characteristics of the unit and has a certain degree of advancement and practicability.

This paper intends to analyze and evaluate the company's quality management system by using the viewpoints, methods and means of modern management theory and system engineering. First, through the combination of literature review, expert consultation and field research, the goal of the company's quality management system was determined; then, the hierarchical structure model of each element of the system was constructed by using the analytic hierarchy process, and the weight calculation was carried out, and then the system was obtained. The level that needs to be achieved after the overall optimization; Finally, combined with the specific situation of Jiaying Real Estate Company, the corresponding countermeasures and measures are put forward, so as to provide a theoretical basis for the further improvement of the quality management level of Jiaying Real Estate Company.

1.3 Features of system development technology

(1) The backend of the web background management in the quality management system of Jiaying Real Estate Company no longer uses the ancient jsp+javabean+servlet technology, but uses the current mainstream springboot framework, which reduces java configuration codes and simplifies programming codes. At present, the springboot framework is also one of the frameworks chosen by many enterprises.

(2) The front end of the web background management in the quality management system of Jiaying Real Estate Company uses JavaScript framework, which can beautify the page design with ajax[8] and jquery[9].

(3) The mysql5.7 database used in the quality management system of Jiaying Real Estate Company has high execution efficiency.

1.4 Paper Structure and Chapter Arrangement

The thesis will be arranged in layers, except for the abstract acknowledgments and references, the main text will also analyze the requirements of the website, explain the general design and implemented functions, and finally list some commissioning records. The main structure of the thesis is as follows:

Chapter 1: Introduction. The first chapter mainly introduces the background of the subject research, the status quo of system development and the research status, development trend and main work of this paper at home and abroad.

Chapter Two: System Requirements Analysis. The second chapter mainly conducts demand analysis from the aspects of system users and functions.

Chapter Three: System Design. The third chapter mainly carries on the function design to the system frame, the system function module, the database.

Chapter Four: System Realization. The fourth chapter mainly introduces the construction of the system framework and the realization of the system interface.

Chapter Five: System Testing. Chapter 5 mainly tests some interfaces of the system and tests the main functions

Chapter Six: Summary.

2 Systematic analysis of the quality management system of Jiaying Real Estate Company

System analysis is a prerequisite for developing a project. Through system analysis, the basic needs of the main users of the system can be well understood, and this is also the reason for the development of the project. Further, feasibility analysis is carried out on system development, usually including technical feasibility, economic feasibility, etc. Feasibility analysis is also an analysis from the overall perspective of the project. Then it is to analyze the specific needs of the project, and the means of analysis are generally realized through the user's use case diagram. The following is a detailed introduction.

2.1 Feasibility analysis

(1) Economic feasibility:

Most of the tools used in the project are currently popular open source and free, so in the early stage of development, the funds used for the project will be greatly reduced, and the development of the software will not be affected by the funds during the project start-up period, so It is still economically feasible. Try to use the least cost to meet the needs of users. Save funds for labor costs and equipment costs. It will go further and further on the road of paperless and high efficiency.

So there is no question of economic viability.

(2) Operation feasibility:

The design of this project refers to several development cases of websites under this mode, analyzes their operation interface, combines many cases together, and highlights the people-oriented and simplified operation, so people with basic computer knowledge can operate this project.

Therefore, there is no problem with operability.

(3) Technical feasibility:

Technical feasibility refers to the feasibility of building a framework, and the acceptability of system technology upgrades when better technologies emerge, and the ratio of development time to cost.

The existing springboot technology can cater to the construction of all e-commerce systems. When developing the quality management system of Jiaying Real Estate Company, I used springboot+MYSQL to run the overall program.

In summary, there is no problem with the technical feasibility.

(4) Legal feasibility:

From the perspective of developers, springboot and MYSQL are open source and free online, and there will be no legal disputes in terms of intellectual property rights.

From the perspective of user use, as long as no contraband is sold on the system, a treaty agreement is made on the system, and illegal payments are eliminated.

In summary, there is no question of legal feasibility.

2.2 System flow analysis

The business process is to use some specific symbols and lines to demonstrate the user's process of using the system. When performing system analysis, the business process can help developers better understand the business, find errors, and improve the system.

2.2.1 Data addition process

After the user successfully logs in to the system, the operation of adding data can be realized. The number of adding data is specific and generated by the system, and the user cannot fill it in at will. Except for the number, the user can fill in other additional information by himself, and the filled information is verified by the system and verified to be legal. Passing shows that the data addition is successful. On the contrary, the addition is not successful. Figure 2-1 shows the process of adding data.

Figure 2-1 Flowchart of adding data

2.2.2 Data modification process

The process of data modification is similar to the process of data addition described above, as shown in Figure 2-2.

Figure 2-2 Data modification flow chart

2.2.3 Data deletion process

If there are some useless data in the system, the relevant management personnel can also delete these data. Figure 2-3 is the flow chart of data deletion.

Figure 2-3 Data deletion flow chart

2.3 System function analysis

2.3.1 Functional Analysis

According to the role of Jiaying Real Estate Company's quality management system, I divided it into three parts: employee user management module, leader user management module and administrator management module.

Employee user management module:

(1) Employee registration and login: Employees register as employees and log in to the quality management system of Jiaying Real Estate Company; employees add, delete, modify and check personal information, such as personal information and password changes.

(2) Check the homepage information of Jiaying Real Estate Company's quality management system: the homepage information of Jiaying Real Estate Company's quality management system includes homepage, project quality inspection, project quality rectification, etc.

(3) Project quality inspection: employees can submit project quality inspection information in the "Project Quality Inspection" interface in the background, and leaders can view it in the "Project Quality Inspection" interface;

(4) Project quality rectification: employee users can query project quality rectification and check the project quality rectification information released by managers.

Administrator management module:

(1) User management: administrators can manage and control registered employee user information, leader user information, and administrator information.

(4) More management: Under the menu of "More Management", you can control the project quality inspection and project quality rectification operated by managers and users.

(5) Project quality inspection management: administrators can add, delete, modify and check existing project quality inspections in the quality management system of Jiaying Real Estate Company.

(6) Project quality rectification management: administrators can add, delete, modify and check existing project quality rectifications in Jiaying Real Estate Company's quality management system.

2.3.2 Non-functional analysis

嘉应房地产公司质量管理系统的非功能性需求比如嘉应房地产公司质量管理系统的安全性怎么样,可靠性怎么样,性能怎么样,可拓展性怎么样等。具体可以表示在如下3-1表格中:

表3-1嘉应房地产公司质量管理系统非功能需求表

安全性

主要指嘉应房地产公司质量管理系统数据库的安装,数据库的使用和密码的设定必须合乎规范。

可靠性

可靠性是指嘉应房地产公司质量管理系统能够安装用户的指示进行操作,经过测试,可靠性90%以上。

性能

性能是影响嘉应房地产公司质量管理系统占据市场的必要条件,所以性能最好要佳才好。

可扩展性

比如数据库预留多个属性,比如接口的使用等确保了系统的非功能性需求。

易用性

用户只要跟着嘉应房地产公司质量管理系统 的页面展示内容进行操作,就可以了。

可维护性

嘉应房地产公司质量管理系统 开发的可维护性是非常重要的,经过测试,可维护性没有问题

2.4 系统用例分析

通过2.3功能的分析,得出了本嘉应房地产公司质量管理系统的用例图:

员工用户角色用例如图2-3所示。

图2-3 嘉应房地产公司质量管理系统员工用户角色用例图

web后台管理上的管理员是维护整个嘉应房地产公司质量管理系统中所有数据信息的。管理员角色用例如图2-5所示。

图2-5 嘉应房地产公司质量管理系统管理员角色用例图

2.5本章小结

本章主要通过对嘉应房地产公司质量管理系统的可行性分析、流程分析、功能需求分析、系统用例分析,确定整个嘉应房地产公司质量管理系统 要实现的功能。同时也为嘉应房地产公司质量管理系统 的代码实现和测试提供了标准。

3 嘉应房地产公司质量管理系统 总体设计

本章主要讨论的内容包括嘉应房地产公司质量管理系统的功能模块设计、数据库系统设计。

3.1 系统架构设计

本嘉应房地产公司质量管理系统 从架构上分为三层:表现层(UI)、业务逻辑层(BLL)以及数据层(DL)。

图3-1嘉应房地产公司质量管理系统系统架构设计图

表现层(UI):又称UI层,主要完成本嘉应房地产公司质量管理系统的UI交互功能,一个良好的UI可以打打提高用户的用户体验,增强用户使用本嘉应房地产公司质量管理系统 时的舒适度。UI的界面设计也要适应不同版本的嘉应房地产公司质量管理系统 以及不同尺寸的分辨率,以做到良好的兼容性。UI交互功能要求合理,用户进行交互操作时必须要得到与之相符的交互结果,这就要求表现层要与业务逻辑层进行良好的对接。

业务逻辑层(BLL):主要完成本嘉应房地产公司质量管理系统的数据处理功能。用户从表现层传输过来的数据经过业务逻辑层进行处理交付给数据层,系统从数据层读取的数据经过业务逻辑层进行处理交付给表现层。

数据层(DL):由于本嘉应房地产公司质量管理系统的数据是放在服务端的mysql数据库中,因此本属于服务层的部分可以直接整合在业务逻辑层中,所以数据层中只有数据库,其主要完成本嘉应房地产公司质量管理系统 的数据存储和管理功能。

3.2 系统功能模块设计

3.2.1整体功能模块设计

在上一章节中主要对系统的功能性需求和非功能性需求进行分析,并且根据需求分析了本嘉应房地产公司质量管理系统中的用例。那么接下来就要开始对本嘉应房地产公司质量管理系统的架构、主要功能和数据库开始进行设计。嘉应房地产公司质量管理系统根据前面章节的需求分析得出,其总体设计模块图如图3-2所示。

图3-2 嘉应房地产公司质量管理系统功能模块图

3.2.2用户模块设计

后台管理者能够实现对前台注册的用户增删改查操作,用户模块结构图如下图:

图3-3用户用户模块结构图

3.2.3项目质量巡查管理模块设计

嘉应房地产公司质量管理系统是中需要存储不少项目质量巡查信息,其模块功能结构,具体的结构图如下:

图3-4项目质量巡查模块结构图

3.3 数据库设计

数据库设计一般包括需求分析、概念模型设计、数据库表建立三大过程,其中需求分析前面章节已经阐述,概念模型设计有概念模型和逻辑结构设计两部分。

3.3.1 数据库概念结构设计

下面是整个嘉应房地产公司质量管理系统 中主要的数据库表总E-R实体关系图。

图3-6 嘉应房地产公司质量管理系统 总E-R关系图

下面根据嘉应房地产公司质量管理系统 的数据库总E-R关系图可以得出嘉应房地产公司质量管理系统需要很多E-R图,在此罗列出来一些主要的数据库E-R模型图。

图3-7领导用户E-R关系图

图3-8 项目质量整改E-R关系图

图3-9项目质量巡查E-R关系图

3.3.2 数据库逻辑结构设计

通过上一小节中嘉应房地产公司质量管理系统 中总E-R关系图上得出一共需要创建很多个数据表。在此我主要罗列几个主要的数据库表结构设计。

project_quality_rectification表:

名称

类型

长度

不是null

主键

注释

project_quality_rectification_id

int

11

项目质量整改ID

rectification_no

varchar

64

整改编号

filled_by

varchar

64

填报人

entry_name

varchar

64

项目名称

position

varchar

64

部位

assigned_personnel

varchar

64

指派人员

assign_time

date

0

指派时间

rectification_required_time

date

0

整改要求时间

approval_status

varchar

64

审批状态

quality_problem

text

0

质量问题

rectification_feedback

text

0

整改情况反馈

rectification_content

text

0

整改内容

recommend

int

11

智能推荐

create_time

datetime

0

创建时间

update_time

timestamp

0

更新时间

project_quality_inspection表:

名称

类型

长度

不是null

主键

注释

project_quality_inspection_id

int

11

项目质量巡查ID

patrol_number

varchar

64

巡查编号

quality_inspector

varchar

64

质检员

entry_name

varchar

64

项目名称

inspection_date

date

0

检查日期

inspection_position

varchar

64

检查部位

approval_status

varchar

64

审批状态

check_the_situation

text

0

检查情况

recommend

int

11

智能推荐

create_time

datetime

0

创建时间

update_time

timestamp

0

更新时间

leading_users表:

名称

类型

长度

不是null

主键

注释

leading_users_id

int

11

领导用户ID

job_number

varchar

64

工号

full_name

varchar

64

姓名

gender

varchar

64

性别

department

varchar

64

部门

post

varchar

64

职务

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

user_id

int

11

用户ID

create_time

datetime

0

创建时间

update_time

timestamp

0

更新时间

employee_user表:

名称

类型

长度

不是null

主键

注释

employee_user_id

int

11

员工用户ID

job_number

varchar

64

工号

full_name

varchar

64

姓名

gender

varchar

64

性别

department

varchar

64

部门

post

varchar

64

职务

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

user_id

int

11

用户ID

create_time

datetime

0

创建时间

update_time

timestamp

0

更新时间

upload表:

名称

类型

长度

不是null

主键

注释

upload_id

int

11

上传ID

name

varchar

64

文件名

path

varchar

255

访问路径

file

varchar

255

文件路径

display

varchar

255

显示顺序

father_id

int

11

父级ID

dir

varchar

255

文件夹

type

varchar

32

文件类型

hits表:

名称

类型

长度

不是null

主键

注释

hits_id

int

10

点赞ID

user_id

int

11

点赞人

create_time

timestamp

0

创建时间

update_time

timestamp

0

更新时间

source_table

varchar

255

来源表

source_field

varchar

255

来源字段

source_id

int

10

来源ID

3.4本章小结

整个嘉应房地产公司质量管理系统的需求分析主要对系统总体架构以及功能模块的设计,通过建立E-R模型和数据库逻辑系统设计完成了数据库系统设计。

4 嘉应房地产公司质量管理系统详细设计与实现

嘉应房地产公司质量管理系统的详细设计与实现主要是根据前面的嘉应房地产公司质量管理系统的需求分析和嘉应房地产公司质量管理系统的总体设计来设计页面并实现业务逻辑。主要从嘉应房地产公司质量管理系统界面实现、业务逻辑实现这两部分进行介绍。

4.1用户功能模块

4.1.1 员工用户首页界面

当进入嘉应房地产公司质量管理系统的时候,首先映入眼帘的是系统的导航栏,下面是系统内容,其主界面展示如下图4-1所示。

图4-1 员工用户首页界面图

4.1.2员工用户登录界面

嘉应房地产公司质量管理系统中的注册后的用户是可以通过自己的账户名和密码进行登录的,当用户输入完整的自己的账户名和密码信息并点击“登录”按钮后,将会首先验证输入的有没有空数据,再次验证输入的账户名+密码和数据库中当前保存的用户信息是否一致,只有在一致后将会登录成功并自动跳转到嘉应房地产公司质量管理系统的首页中;否则将会提示相应错误信息,员工用户登录界面如下图4-2所示。

图4-2员工用户登录界面图

登录关键代码如下所示。

/**

* 登录

* @param data

* @param httpServletRequest

* @return

*/

@PostMapping("login")

public Map<String, Object> login(@RequestBody Map<String, String> data, HttpServletRequest httpServletRequest) {

log.info("[执行登录接口]");

String username = data.get("username");

String email = data.get("email");

String phone = data.get("phone");

String password = data.get("password");

List resultList = null;

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

if(username != null && "".equals(username) == false){

map.put("username", username);

resultList = service.select(map, new HashMap<>()).getResultList();

}

else if(email != null && "".equals(email) == false){

map.put("email", email);

resultList = service.select(map, new HashMap<>()).getResultList();

}

else if(phone != null && "".equals(phone) == false){

map.put("phone", phone);

resultList = service.select(map, new HashMap<>()).getResultList();

}else{

return error(30000, "账号或密码不能为空");

}

if (resultList == null || password == null) {

return error(30000, "账号或密码不能为空");

}

//判断是否有这个用户

if (resultList.size()<=0){

return error(30000,"用户不存在");

}

User byUsername = (User) resultList.get(0);

Map<String, String> groupMap = new HashMap<>();

groupMap.put("name",byUsername.getUserGroup());

List groupList = userGroupService.select(groupMap, new HashMap<>()).getResultList();

if (groupList.size()<1){

return error(30000,"用户组不存在");

}

UserGroup userGroup = (UserGroup) groupList.get(0);

//查询用户审核状态

if (!StringUtils.isEmpty(userGroup.getSourceTable())){

String sql = "select examine_state from "+ userGroup.getSourceTable() +" WHERE user_id = " + byUsername.getUserId();

String res = String.valueOf(service.runCountSql(sql).getSingleResult());

if (res==null){

return error(30000,"用户不存在");

}

if (!res.equals("已通过")){

return error(30000,"该用户审核未通过");

}

}

//查询用户状态

if (byUsername.getState()!=1){

return error(30000,"用户非可用状态,不能登录");

}

String md5password = service.encryption(password);

if (byUsername.getPassword().equals(md5password)) {

// 存储Token到数据库

AccessToken accessToken = new AccessToken();

accessToken.setToken(UUID.randomUUID().toString().replaceAll("-", ""));

accessToken.setUser_id(byUsername.getUserId());

tokenService.save(accessToken);

// 返回用户信息

JSONObject user = JSONObject.parseObject(JSONObject.toJSONString(byUsername));

user.put("token", accessToken.getToken());

JSONObject ret = new JSONObject();

ret.put("obj",user);

return success(ret);

} else {

return error(30000, "账号或密码不正确");

}

}

4.1.3员工用户注册界面

不是嘉应房地产公司质量管理系统中正式员工的是可以在线进行注册的,如果你没有本嘉应房地产公司质量管理系统的账号的话,添加“注册”,当填写上自己的账号+密码+确认密码+昵称+邮箱+手机号等后再点击“注册”按钮后将会先验证输入的有没有空数据,再次验证密码和确认密码是否是一样的,最后验证输入的账户名和数据库表中已经注册的账户名是否重复,只有都验证没问题后即可员工注册成功。其用员工注册界面展示如下图4-3所示。

图4-2员工用户注册界面图

用户注册关键代码如下所示。

/**

* 注册

* @param user

* @return

*/

@PostMapping("register")

public Map<String, Object> signUp(@RequestBody User user) {

// 查询用户

Map<String, String> query = new HashMap<>();

query.put("username",user.getUsername());

List list = service.select(query, new HashMap<>()).getResultList();

if (list.size()>0){

return error(30000, "用户已存在");

}

user.setUserId(null);

user.setPassword(service.encryption(user.getPassword()));

service.save(user);

return success(1);

}

/**

* 用户ID:[0,8388607]用户获取其他与用户相关的数据

*/

@Id

@GeneratedValue(strategy = GenerationType.IDENTITY)

@Column(name = "user_id")

private Integer userId;

/**

* 账户状态:[0,10](1可用|2异常|3已冻结|4已注销)

*/

@Basic

@Column(name = "state")

private Integer state;

/**

* 所在用户组:[0,32767]决定用户身份和权限

*/

@Basic

@Column(name = "user_group")

private String userGroup;

/**

* 上次登录时间:

*/

@Basic

@Column(name = "login_time")

private Timestamp loginTime;

/**

* 手机号码:[0,11]用户的手机号码,用于找回密码时或登录时

*/

@Basic

@Column(name = "phone")

private String phone;

/**

* 手机认证:[0,1](0未认证|1审核中|2已认证)

*/

@Basic

@Column(name = "phone_state")

private Integer phoneState;

/**

* 用户名:[0,16]用户登录时所用的账户名称

*/

@Basic

@Column(name = "username")

private String username;

/**

* 昵称:[0,16]

*/

@Basic

@Column(name = "nickname")

private String nickname;

/**

* 密码:[0,32]用户登录所需的密码,由6-16位数字或英文组成

*/

@Basic

@Column(name = "password")

private String password;

/**

* 邮箱:[0,64]用户的邮箱,用于找回密码时或登录时

*/

@Basic

@Column(name = "email")

private String email;

/**

* 邮箱认证:[0,1](0未认证|1审核中|2已认证)

*/

@Basic

@Column(name = "email_state")

private Integer emailState;

/**

* 头像地址:[0,255]

*/

@Basic

@Column(name = "avatar")

private String avatar;

/**

* 创建时间:

*/

@Basic

@Column(name = "create_time")

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

private Timestamp createTime;

@Basic

@Transient

private String code;

}

4.1.4项目质量巡查界面

员工点击“项目质量巡查”,选择“添加”按钮后就会进入到项目质量巡查添加这个界面,系统会输入质检员、检查部位、项目名称、检查日期、巡查编号、检查情况,点击“提交”就添加成功了;其界面展示如下图4.4所示。

图4-3项目质量巡查界面图

4.1.5项目质量整改界面

员工用户进入后台后点击“项目质量整改”,能够看到员工用户可以查询质量整改信息。界面如下图4-4所示。

图4-4项目质量整改界面图

4.1.6个人信息界面

员工进入后台后点击“个人信息”,能够看到员工要修改个人信息。个人信息界面如下图4-5所示。

图4-5个人信息界面图

4.3管理员功能模块

4.3.1 用户管理界面

嘉应房地产公司质量管理系统中的管理人员是可以对注册的员工用户、领导用户进行管理的,也可以对管理员进行管控。界面如下图4-6所示。

图4-6用户管理界面图

用户管理关键代码如下所示。

public String encryption(String plainText) {

String re_md5 = new String();

try {

MessageDigest md = MessageDigest.getInstance("MD5");

md.update(plainText.getBytes());

byte b[] = md.digest();

int i;

StringBuffer buf = new StringBuffer("");

for (int offset = 0; offset < b.length; offset++) {

i = b[offset];

if (i < 0)

i += 256;

if (i < 16)

buf.append("0");

buf.append(Integer.toHexString(i));

}

re_md5 = buf.toString();

} catch (Exception e) {

e.printStackTrace();

}

return re_md5;

}

4.3.2项目质量巡查管理

嘉应房地产公司质量管理系统中的管理人员是可以对用户项目质量巡查进行管控的,界面如下图4-11所示。

图4-7项目质量巡查管理图

项目质量巡查管理关键代码如下所示。

@RequestMapping(value = "/del")

@Transactional

public Map<String, Object> del(HttpServletRequest request) {

service.delete(service.readQuery(request), service.readConfig(request));

return success(1);

}

@Transactional

public void delete(Map<String,String> query,Map<String,String> config){

StringBuffer sql = new StringBuffer("DELETE FROM ").append("`").append(table).append("`").append(" ");

sql.append(toWhereSql(query, "0".equals(config.get(FindConfig.GROUP_BY))));

log.info("[{}] - 删除操作:{}",table,sql);

Query query1 = runCountSql(sql.toString());

query1.executeUpdate();

}

4.3.3项目质量整改管理

嘉应房地产公司质量管理系统中的管理人员在“项目质量整改管理”这一菜单中是可以对用户显示的项目质量整改进行管控。界面如下图4-8所示。

图4-8项目质量整改管理图

项目质量整改管理关键代码如下所示。

@PostMapping("/add")

@Transactional

public Map<String, Object> add(HttpServletRequest request) throws IOException {

service.insert(service.readBody(request.getReader()));

return success(1);

}

@Transactional

public Map<String, Object> addMap(Map<String,Object> map){

service.insert(map);

return success(1);

}

public Map<String,Object> readBody(BufferedReader reader){

BufferedReader br = null;

StringBuilder sb = new StringBuilder("");

try{

br = reader;

String str;

while ((str = br.readLine()) != null){

sb.append(str);

}

br.close();

String json = sb.toString();

return JSONObject.parseObject(json, Map.class);

}catch (IOException e){

e.printStackTrace();

}finally{

if (null != br){

try{

br.close();

}catch (IOException e){

e.printStackTrace();

}

}

}

return null;

}

public void insert(Map<String,Object> body){

StringBuffer sql = new StringBuffer("INSERT INTO ");

sql.append("`").append(table).append("`").append(" (");

for (Map.Entry<String,Object> entry:body.entrySet()){

sql.append("`"+humpToLine(entry.getKey())+"`").append(",");

}

sql.deleteCharAt(sql.length()-1);

sql.append(") VALUES (");

for (Map.Entry<String,Object> entry:body.entrySet()){

Object value = entry.getValue();

if (value instanceof String){

sql.append("'").append(entry.getValue()).append("'").append(",");

}else {

sql.append(entry.getValue()).append(",");

}

}

sql.deleteCharAt(sql.length() - 1);

sql.append(")");

log.info("[{}] - 插入操作:{}",table,sql);

Query query = runCountSql(sql.toString());

query.executeUpdate();

}

5系统测试

5.1系统测试的目的

系统开发到了最后一个阶段那就是系统测试,系统测试对软件的开发其实是非常有必要的。因为没什么系统一经开发出来就可能会尽善尽美,再厉害的系统开发工程师也会在系统开发的时候出现纰漏,系统测试能够较好的改正一些bug,为后期系统的维护性提供很好的支持。通过系统测试,开发人员也可以建立自己对系统的信心,为后期的系统版本的跟新提供支持。

5.2 系统测试用例

系统测试包括:用户登录功能测试、项目质量巡查管理展示功能测试、项目质量巡查管理添加、项目质量巡查管理搜索、密码修改功能测试,如表5-1、5-2、5-3、5-4、5-5所示:

用户登录功能测试:

表5-1 用户登录功能测试表

用例名称

用户登录系统

目的

测试用户通过正确的用户名和密码可否登录功能

前提

未登录的情况下

测试流程

1) 进入登录页面

2) 输入正确的用户名和密码

预期结果

用户名和密码正确的时候,跳转到登录成功界面,反之则显示错误信息,提示重新输入

实际结果

实际结果与预期结果一致

项目质量巡查管理查看功能测试:

表5-2 项目质量巡查管理查看功能测试表

用例名称

项目质量巡查管理查看

目的

测试项目质量巡查管理查看功能

前提

用户登录

测试流程

点击项目质量巡查管理列表

预期结果

可以查看到所有项目质量巡查管理信息

实际结果

实际结果与预期结果一致

管理员添加项目质量巡查管理界面测试:

表5-3 管理员添加项目质量巡查管理界面测试表

用例名称

项目质量巡查管理发布测试用例

目的

测试项目质量巡查管理发布功能

前提

用户正常登录情况下

测试流程

1)点击项目质量巡查管理信息管理就,然后点击添加后并填写信息。

2)点击进行提交。

预期结果

提交以后,页面首页会显示新的项目质量巡查管理信息

实际结果

实际结果与预期结果一致

项目质量巡查管理搜索功能测试:

表5-4项目质量巡查管理搜索功能测试表

用例名称

项目质量巡查管理搜索测试

目的

测试项目质量巡查管理搜索功能

前提

测试流程

1)在搜索框填入搜索关键字。

2)点击搜索按钮。

预期结果

页面显示包含有搜索关键字的项目质量巡查管理

实际结果

实际结果与预期结果一致

密码修改功能测试:

表5-5 密码修改功能测试表

用例名称

密码修改测试用例

目的

测试管理员密码修改功能

前提

管理员用户正常登录情况下

测试流程

1)管理员密码修改并完成填写。

2)点击进行提交。

预期结果

使用新的密码可以登录

实际结果

实际结果与预期结果一致

5.3 系统测试结果

通过编写嘉应房地产公司质量管理系统的测试用例,已经检测完毕用户登录模块、项目质量巡查管理查看模块、项目质量巡查管理添加模块、项目质量巡查管理搜索模块、密码修改功能测试,通过这5大模块为嘉应房地产公司质量管理系统的后期推广运营提供了强力的技术支撑。

结论

至此,嘉应房地产公司质量管理系统已经结束,在开发前做了许多的准备,在本系统的设计和开发过程中阅览和学习了许多文献资料,从中我也收获了很多宝贵的方法和设计思路,对系统的开发也起到了很重要的作用,系统的开发技术选用的都是自己比较熟悉的,比如Web、springboot技术、MYSQL,这些技术都是在以前的学习中学到了,其中许多的设计思路和方法都是在以前不断地学习中摸索出来的经验,其实对于我们来说工作量还是比较大的,但是正是由于之前的积累与准备,才能顺利的完成这个项目,由此看来,积累经验跟做好准备是十分重要的事情。

当然在该系统的设计与实现的过程中也离不开老师以及同学们的帮助,正是因为他们的指导与帮助,我才能够成功的在预期内完成了这个系统。同时在这个过程当中我也收获了很多东西,此系统也有需要改进的地方,但是由于专业知识的浅薄,并不能做到十分完美,希望以后有机会可以让其真正的投入到使用之中。

参考文献

[1]王曼维,杨荻,李岩,及松洁.基于SpringBoot框架的智慧医疗问诊系统设计与实现[J].中国医学装备,2022,19(03):133-136.

[2]常兵,薛桢一,陈德徐,孙诚彬,阮莹莹. 一种基于JAVA技术实现数据结构化导入导出的方法[P]. 江苏省:CN114063989A,2022-02-18.

[3]熊勇.基于Java技术的后台服务程序设计分析[J].信息记录材料,2022,23(02):80-82.DOI:10.16009/j.cnki.cn13-1295/tq.2022.02.002.

[4]刘在英,杨磊. 一种基于SpringBoot框架的企业进存销系统的设计方法[P]. 山东省:CN114003204A,2022-02-01.

[5]陈春燕.基于JAVA技术手机自助充电系统的设计[J].电脑知识与技术,2022,18(03):4-6.DOI:10.14004/j.cnki.ckt.2022.0197.

[6]杨路博. 对S房地产公司酒店式写字楼项目施工质量控制的研究[D].河北地质大学,2022.

[7]高志平. 基于SpringBoot框架与ITIL方法的运维管理系统的设计与实现[D].华东师范大学,2021.DOI:10.27149/d.cnki.ghdsu.2021.001482.

[8]He Xinbin,Bai Yongbin,Yue Lisen,Wang Haixiao,Liu Yi. Design and Implementation of Information System Based on Java Technology Platform[J]. Journal of Physics: Conference Series,2021,2033(1).

[9]汪均香. A房地产公司债务融资内都审计质量评价研究[D].兰州财经大学,2021.

[10]谢建军. S房地产公司H项目的工程质量管理策略优化研究[D].南京师范大学,2021.

[11]刘欣,李亮亮,牛聪. 基于Vue和SpringBoot框架的流域监管平台的研究和应用[C]//.第十一届防汛抗旱信息化论坛论文集.,2021:118-122.DOI:10.26914/c.cnkihy.2021.024864.

[12]王超,张琪立,田广强,李晶晶.基于Springboot框架的学校机房计费管理系统的设计与实现[J].电子技术与软件工程,2020(23):159-160.

[13]李海灵. T房地产公司开发项目质量管理问题诊断与优化对策研究[D].华南理工大学,2020.DOI:10.27151/d.cnki.ghnlu.2020.000462.

[14]王勇.跨区域多项目的房地产项目设计管理研究[J].住宅与房地产,2020(04):71-72.

[15]Lei Yu,Cheng Li,Lei Wei,Hu WenYa. Marine biological monitoring and managing system based on Java technology[J]. MIPPR 2019: REMOTE SENSING IMAGE PROCESSING, GEOGRAPHIC INFORMATION SYSTEMS, AND OTHER APPLICATIONS,2020,11432.

[16]张倩,王蕾,史述红,吕经纬. 基于JAVA并行计算技术的电力直接交易集中撮合交易算法[C]//.中国电机工程学会电力市场专业委员会2018年学术年会暨全国电力交易机构联盟论坛论文集.,2018:373-377.

[17]袁梅冷,李斌,肖正兴. Java应用开发技术实例教程[M].人民邮电出版社:, 201708.253.

[18]谢海娟,何和阳,刘晓臻.高管背景特征与企业内部控制质量——来自房地产上市公司的经验证据[J].财会通讯,2016(17):22-25.DOI:10.16144/j.cnki.issn1002-8072.2016.17.009.

[19]邹武平.基于利润结构的公司利润质量评价——以BL房地产公司为例[J].财会月刊,2015(19):74-77.DOI:10.19641/j.cnki.42-1290/f.2015.19.022.

致 谢

逝者如斯夫,不舍昼夜。转眼间,大用户用户活便已经接近尾声,人面对着离别与结束,总是充满着不舍与茫然,我亦如此,仍记得那年秋天,我迫不及待的提前一天到了学校,面对学校巍峨的大门,我心里充满了期待:这里,就是我新生活的起点吗?那天,阳光明媚,学校的欢迎仪式很热烈,我面对着一个个对着我微笑的同学,仿佛一缕缕阳光透过胸口照进了我心里,同时,在那天我认识可爱的室友,我们携手共同度过了这难忘的两年。如今,我望着这篇论文的致谢,不禁又要问自己:现在,我们就要说再见了吗?

感慨莫名,不知所言。遥想当初刚来学校的时候,心里总是想着工科学校会过于板正,会缺乏一些柔情,当时心里甚至有一点点排斥,但是随着我对学校的慢慢认识与了解,我才认识到了她的美丽,她的柔情,并且慢慢的喜欢上了这个校园,但是时间太快了,快到我还没有好好体会她的美丽便要离开了,但是她带给我的回忆,永远不会离开我,也许真正离开那天我的眼里会满含泪水,我不是因为难过,我只是想将她的样子映在我的泪水里,刻在我的心里。最后,感谢我的老师们,是你们教授了我们知识与做人的道理;感谢我的室友们,是你们陪伴了我如此之久;感谢每位关心与支持我的人。

少年,追风赶月莫停留,平荒尽处是春山。

点赞+收藏+关注 → 私信领取本源代码、数据库

Guess you like

Origin blog.csdn.net/DZBS2000/article/details/128938264