(with source code) springboot student loan management graduation project 061528

Student loan management based on springboot

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 problems such as student loans, conduct research and analysis on student loans, and then develop and design a student loan system to solve the problems.

The main functional modules of the student loan system include home page, user management, more management, student user, loan application, college user, school office user, repayment center, credit blacklist, site announcement, bursary application, and scholarship application. The object-oriented development mode is adopted for software development and hardware construction, which can well meet the needs of actual use, improve the corresponding software construction and program coding work, and use Mysql as the main storage unit for background data. The springboot framework and java technology realize all the functions of this system. This report first analyzes the background, function and significance of the research, laying the foundation for the rationality of the research work. Analyzed various requirements and technical problems of the student loan system, proved the necessity and technical feasibility of the system, then gave a basic introduction to the technical software and design ideas needed to design the system, and finally realized the student loan System and deployment runs use it.

Keywords: student loan; springboot framework; Mysql database

Management of student loan based on springboot

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 problems of student loan, this paper studies and analyzes the student loan, and then develops and designs the student loan system to solve the problems.

The main functional modules of student loan system include, home page, user management, more management, student users, loan application, college users, school run users, repayment center, credit blacklist, station announcement, financial aid declaration and scholarship declaration. Adopting the object-oriented development mode for software development and hardware erection can well meet the needs of practical use, improve the corresponding software erection and program coding, take MySQL as the main storage unit of background data, and realize all the functions of the system by using springboot framework and Java technology. 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 student loan system, proves the necessity and technical feasibility of the system, then makes a basic introduction to the technical software and design ideas needed to design the system, and finally realizes the student loan system and deploys it.

Key words:student loan; Springboot framework; Mysql database

Table of contents

Chapter 1 Introduction 1

1.1 Research background and significance 1

1.2 Development status 1

Chapter 2 Introduction to Related Technologies 2

2.1 Development Technology 2

2.2 MVVM pattern 2

2.3 B/S structure 2

2.4 Introduction to springboot framework 2

2.5 Mysql database 3

2.6 Main functions of Vue.js 4

Chapter 3 System Analysis 5

3.1 Feasibility analysis 5

3.2 Analysis of functional requirements 5

3.3 Non-functional requirements analysis 8

3.4 Security Requirements Analysis 8

3.4.1 System security 8

3.4.2 Data Security 9

3.5 Data flow analysis 9

Chapter 4 System Design 11

4.1 System Architecture Design 11

4.2 Overall system design 11

4.3 System function design 12

4.4 Database Design 12

4.4.1 Data Requirements Analysis 13

4.4.2 Database conceptual design 13

4.4.3 Database table design 13

Chapter 5 System Implementation 2 2

5.1 Realization of database access layer 2 2

5.2 Realization of user registration module 2 2

5.3 Implementation of login module 23

5.4 Implementation of loan application module 25

5.5 Implementation of Grant Application Module 28

5.6 Realization of Repayment Center Module 2 9

Chapter 6 System Testing 32

6.1 Test purpose 32

6.2 Functional testing 31

6.3 Performance testing 33

Chapter 7 Summary and Outlook 34

Reference 35

Thanks 37

    • introduction

    • research background and meaning

Provide a student loan system in B/S mode for college students. This system attempts to improve the shortcomings of poor liquidity and large resource consumption in the traditional online loan system, and also improves the possible fairness, time, and place constraints of the increasingly mature university student loan management information system, allowing students to The loan system can become a reasonable and safe network loan system. The traditional way of lending is to use paper and contracts to operate, so it is trying to develop a loan management information system for college students to improve the above problems.

In order to free managers from tedious manual labor, improve staff efficiency, reduce management costs, and save storage space, it is necessary to develop a management system.

This topic is to establish a small loan management platform for college students under the above background. The system has the characteristics of fast speed, high precision and large amount of stored information. Not only can the data and information be standardized, but also the effective use of information resources is realized, and the network management and electronic management are realized.

    • development status

In many foreign colleges and universities, loans are one of the main financial aids for college students. This phenomenon is particularly prominent in the United States, and its system models and applications are becoming mature, such as the Stafford Loan System, Perkins Loan System, PLUS and Stafford Load, etc., but because the national student loan management of various countries is very different from that of our country, each functional module is very different. At present, there has been research on the national student loan management system in China, but it is only a preliminary development. It is understood that a relatively mature system in China is the national student loan system for student origin ( https://www.csls.cdb.com.cn / ) and China Development Bank’s National College Student Financial Aid Information Platform ( http://xszz.chsi.com.cn/ ), the college student loan system has gradually developed in all provinces of the country, but most college student loans The managers of the management center still use traditional manual bookkeeping tools. There are some commercial lending systems that are already in use.

    • Related technology introduction

The front-end framework of this system adopts the popular progressive JavaScript framework Vue.js. Use Vue-Router and Vuex to realize dynamic routing and global state management, Ajax to realize front-end and back-end communication, and Element UI component library to make the page quickly form. Back-end part: use springboot as the development framework, and integrate MyBatis, Redis and other related technologies at the same time.

    • MVVM pattern

MVVM is shorthand for Model-View-ViewModel. It's essentially an improved version of MVC. MVVM is to abstract the state and behavior of the View in it, and let us separate the view UI from the business logic. Of course, ViewModel has already done these things for us. It can take out the data of Model and help deal with the business logic involved in View because of the need to display content. Microsoft's WPF brings new technical experience, such as Silverlight, audio , video , 3D , animation ..., which leads to more detailed and customizable software UI layer. At the same time, at the technical level, WPF also brings new features such as Binding, Dependency Property, Routed Events, Command, DataTemplate, and ControlTemplate. The origin of the MVVM (Model-View-ViewModel) framework is a new type of architectural framework developed and evolved from the application of the MVP (Model-View-Presenter) pattern combined with WPF . It is based on the original MVP framework and incorporates the new features of WPF to cope with the increasingly complex needs of customers.

    • B/S structure

B/S (Browser/Server) is a more convenient architecture than its predecessor architecture. It uses the Web server to complete the data transfer and exchange. You only need to download the browser as the client, then the work will achieve a "slimming" effect, and there is no need to consider the problem of non-stop installation of software.

    • Spring boot framework introduction

The Spring framework is an open source application framework on the Java platform that provides a container with inversion of control features. Although the Spring framework itself has no restrictions on the programming model, its frequent use in Java applications made it so popular that it was later used as a supplement or even a substitute for the EJB (EnterpriseJavaBeans) model. The Spring framework provides a series of solutions for development, such as using the core features of inversion of control, and implementing inversion of control through dependency injection to realize the containerization of the management object life cycle, using aspect-oriented programming for declarative transaction management, and integrating A variety of persistence technologies manage data access, provide a large number of excellent web frameworks to facilitate development, and so on. The Spring framework has the feature of inversion of control (IOC). IOC is designed to facilitate project maintenance and testing. It provides a method for unified configuration and management of Java objects through the Java reflection mechanism. The Spring framework uses the container to manage the life cycle of objects. The container can configure objects by scanning XML files or specific Java annotations on classes. Developers can obtain objects through dependency lookup or dependency injection. Aspect Oriented Programming(AOP) framework, the Spring AOP framework is based on the proxy mode, and can be configured at runtime; the AOP framework is mainly modularized for the cross concerns between modules. The AOP framework of the Spring framework only provides basic AOP features. Although it cannot be compared with the AspectJ framework, it can also meet the basic needs through integration with AspectJ. Functions such as transaction management and remote access under the Spring framework can be realized by using Spring AOP technology. Spring's transaction management framework brings an abstraction mechanism to the Java platform that enables local and global transactions, as well as nested transactions, to work with savepoints and in almost any environment on the Java platform. Spring integrates multiple transaction templates. The system can configure transactions through transaction templates, XML or Java annotations, and the transaction framework integrates functions such as messaging and caching. Spring's data access framework addresses common difficulties developers encounter when using databases in their applications. It not only provides support for all popular data access frameworks such as Java: JDBC, iBATS/MyBATIs, Hibernate, Java Data Objects (JDO), ApacheOJB and Apache Cayne, but also can be used with Spring's transaction management to provide data access Flexible abstraction. The Spring framework initially did not intend to build its own Web MVC framework . During the development process, its developers believed that the separation between the presentation layer and the request processing layer of the existing Struts Web framework and between the request processing layer and the model was not enough, so they created Spring MVC.

    • Mysql database

Mysql has been updated many times, and the functional level has been very rich and perfect. From Mysql4 version to 5 version, a relatively large update has been made, and it has achieved good practical application results in actual commercial use. The latest version of Mysql supports the compression of information, and at the same time, it can also perform encryption to better meet the needs of information security. At the same time, after multiple updates of the system, the mirroring function of the database itself has also been greatly enhanced, the smoothness of operation and ease of use have been greatly improved, and the use and creation of drivers are also more efficient and faster. The biggest change is the optimization of the display of spatial information, which makes it easier to label and calculate coordinates on the application map. The powerful backup function also ensures that users will feel more at ease during the use process, and the supported Office features also support users' self-installation and use. The display form of information has also been greatly updated, and two very useful display areas have been added, one is the information area, which has classified tables and text, and the display of the interface is more refreshing and specific. The second is the information control of the instrument, which can display information in the instrument information area and compare multiple information at the same time, which brings great convenience to the actual use of users.

In the actual implementation process of the student loan system designed in this paper, the main reason for choosing the Mysql database is that there will be a large number of databases that are frequently operated during the application and development of the enterprise application system, and the data security The requirements are also very high. Based on these factors, Mysql with a relatively high safety factor was finally selected to store the background data of the student loan system.

The overall structure diagram of the database management system is shown in the figure below.

Figure 2-1 Database structure

    • Main functions of Vue.js

Vue.js is a progressive framework for building user interfaces. Unlike other heavyweight frameworks, Vue is designed with bottom-up incremental development. Vue's core library only focuses on the view layer, and is very easy to learn and integrate with other libraries or existing projects. On the other hand, Vue is fully capable of driving complex single-page applications developed with single-file components and libraries supported by the Vue ecosystem.

The goal of Vue.js is to enable responsive data binding and composed view components with the simplest API possible .

Vue.js itself is not a catch-all framework - it only focuses on the view layer. So it's very easy to learn, very easy to integrate with other libraries or existing projects. On the other hand, Vue.js can also power complex single-page applications when used with related tooling and supporting libraries.

    • system analysis

    • Feasibility Analysis

In terms of technology, the current mainstream springboot framework is used to build the main framework of the system. The front-end uses Java and JSP to realize the design and aesthetic adjustment of the front-end page. The above technologies are all learned systematically by myself and practiced in the course design After that, it can make the development more convenient and systematic. From a technical point of view, this system is completely achievable.

In terms of practicability, the main tasks of this design are the home page, user management, more management, student users, loan application, college users, school office users, repayment center, credit blacklist, website announcements, etc. in the student loan system. Scholarship application, scholarship application review, etc., are in line with the current trend of development. From the perspective of users, while also considering system operating costs and human resources, it adopts a convenient way on the Internet to realize online business, making the business process more systematic and more convenient for user experience, which is more practical.

In terms of economy, since the main purpose of the student loan system designed in this project is to conduct information query management and retrieval services more conveniently and quickly, that is, information software that can be directly put into use. The main cost of the system is mainly concentrated on the operation of continuous maintenance and management update of the used data in the later period. However, once the system is put into actual operation and use, it can improve the efficiency of information query and retrieval. At the same time, it is also necessary to effectively ensure the security of the information of the inquirer. At the same time, the practical application brought by this student loan system The value of this aspect far exceeds the cost of developing and maintaining the actual system. Therefore, it is economically feasible to develop this software.

    • Functional Requirements Analysis

The functions of the student loan system are mainly divided into student users who log in according to their own needs, apply for loans, and the funding center browses loan application information and submits materials for selected loan applications. Background system administrators are divided into ordinary administrators and super administrators due to different responsibilities. Ordinary administrators mainly process material submission forms, contract signing and repayment reminders, while super administrators mainly handle student users, loan applications Detailed information, contract signing details, and repayment reminders are processed.

The student use case diagram is shown below.

Figure 3-1 Student use case diagram

The administrator use case diagram is shown below.

Figure 3-2 Administrator use case diagram

校办用例图如下所示。

图3-3 校办用例图

学院用例图如下所示。

图3-3学院用例图

    • 非功能需求分析

首先主要考虑的是系统功能软件,在具体设计的环节上,是不是能够较好的满足各类用户的基本功能需求,如果不能较好的满足用户需求,那么这个系统的存在是没有价值的。软件系统的非功能性求分析,从7个方面展开,一个是性能分析,针对系统;一个是安全分析,针对系统,一个是完整度分析,针对系统,一个是可维护分析,针对系统,一个是可扩展性分析,针对系统,一个是适应业务的性能分析。面对助学贷款系统存在的性能、安全、扩展、完整度等7个方面性能综合比对分析后发现,需要相应的非功能性需求分析。

    • 安全性需求分析

    • 系统的安全性

安全性对每一个系统来说都是非常重要的。安全性很好的系统可以保护企业的信息和用户的信息不被窃取。提高系统的安全性不仅是对用户的负责,更是对企业的负责。尤其针对于助学贷款系统来说,必须要有很好的安全性来保障整个系统。

系统具有对使用者有权限控制,针对角色的不通限制使用者的权限,以此来确保系统的安全性。

    • 数据的安全性

数据库中的数据是从外界输入的,当数据的输入时,由于种种原因,输入的数据会无效,或者是脏数据。因此,怎样保证输入的数据符合规定,成为了数据库系统,尤其是多用户的关系数据库系统首要关注的问题。

因此,在写入数据库时,要保证数据完整性、正确性和一致性。

    • 数据流程分析

对系统的数据流进行分析,系统的使用者分为二类,一般用户,管理员。系统主要对界面信息传送,登录信息的验证,注册信息的接收,用户各种操作的响应做处理。

系统顶层数据流图如下图所示。

图3-2 顶层数据流图

要判断用户是是什么身份,是根据登录的数据来判断后,跳转到对应的功能界面。在系统的内部用户就可以对数据进行操作,数据库中心就可以接收到系统传输的有效数据流来对数据sql语句进行对应操作。

系统底层数据流图如下图所示。

图3-3 底层数据流图

系统可以分为前台和后台两部分,每一种操作后系统都返回操作结果。前台和后台的数据连接主要通过数据库,既分别对数据库做不同的操作。

    • 系统设计

    • 系统架构设计

本助学贷款系统的架构设计主要分为可以3层,主要有Web层,业务层,Model层。其中web层还包括View层和Controller层,Model层包括元数据扩展层和数据访问层。

系统架构如下图所示。

图4-1 系统架构

    • 系统总体设计

助学贷款系统总体分为前台用户模块和后台管理员模块。

两个模块表现上是分别独立存在,但是访问的数据库是一样的。每一个模块的功能都是根据先前完成的需求分析,并查阅相关资料后整理制作的。

综上所述,系统功能结构图如下图所示。

图4-2 系统功能结构图

    • 系统功能设计

登录模块:登录模块是进入系统的入口,所有用户必须登录后才能访问系统。登录需要输入用户名和密码,如果多次尝试登录需要输入验证码。登录时需要选择用户的角色,是一般用户还是管理员登录等。登录成功后,会通过数据库获取用户的权限,并跳转至用户的主页面。

管理员用户管理模块:管理员管理包括:管理员的添加,修改和删除操作。添加管理员时,先判断用户添加的管理员是否是admin(超级管理员),如果不是则添加成功。修改时候,如果是超级管理员,可以修改所有管理员的信息,如果是普通管理员,那么只能修改自己的信息。超级管理员可以删除自己以外的所有其他管理员,普通管理员不能执行删除管理员的操作。

学院数据模块:可分为学院数据浏览、学院数据检索、学院数据维护三个模块,管理员对学院数据有维护的权限,发布新的学院数据、更新已有的学院数据等。

贷款申请管理模块:贷款申请管理分为贷款申请添加、修改。贷款申请信息由学生进行修改、添加、删除操作。

    • 数据库设计

    • 数据需求分析

从前面可以分析到数据库中最重要的是贷款申请信息,学生信息,同时存在合同签订信息和还款信息。分析可以得到如下数据描述:

学生:用于记录学生的各种信息,包括学号、密码、学生姓名、性别、身份证、电话、院系、班级、照片等数据项。

管理员:记录管理员的登录信息。包括用户名,密码,权限等数据项。

贷款申请:存放给贷款申请的内容,包括学号、学生姓名、电话、性别、院系、班级、申请款额、贫困证明、申请表、是否审核、审核回复等数据项。

合同签订:存储各种合同签订信息。包括学号、学生姓名、院系、贷款年限、金额、还款日期、发放账号、合同等数据项。

还款中心。存储用户的还款提醒信息。包括还款提醒的学号、学生姓名、还款金额、还款日期等数据项。

学院数据:存储平台内的学生贷款数据内容。包括账号、密码、负责人、联系电话、邮箱等数据项。

    • 数据库概念设计

根据前面的数据流程图,结合系统的功能模块设计,设计出符合系统的各信息实体。

系统ER图如下图所示。

图4-3 系统ER图

    • 数据库表设计

助学贷款系统所拥有的数据表有以下:学生信息表,贷款申请信息表,材料递交表,合同签订信息表,还款提醒表。

由于数据表较多,只展示系统主要数据表,如下表所示。

college_users表:

字段名称

类型

长度

不是null

主键

字段说明

备注

college_users_id

int

11

主键

学院用户ID

job_number

varchar

64

工号

id

varchar

255

身份证

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

user_id

int

11

用户ID

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

credit_blacklist表:

字段名称

类型

长度

不是null

主键

字段说明

备注

credit_blacklist_id

int

11

主键

信用黑名单ID

student

int

11

学生

lahai_reason

text

0

拉黑理由

black_time

date

0

拉黑时间

list_number

varchar

64

名单编号

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

financial_aid_declaration表:

字段名称

类型

长度

不是null

主键

字段说明

备注

financial_aid_declaration_id

int

11

主键

助学金申报ID

contact_information

varchar

16

联系方式

secondary_approval

varchar

64

二级审批

title

varchar

64

标题

secondary_approval_opinions

text

0

二级审批意见

grant_number

varchar

64

助学金编号

declaration_content

text

0

申报内容

declarant

int

11

申报人

a_grant

varchar

64

助学金

first_level_approval

varchar

64

一级审批

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

loan_application表:

字段名称

类型

长度

不是null

主键

字段说明

备注

loan_application_id

int

11

主键

贷款申请ID

title

varchar

64

标题

loan_contract

varchar

255

贷款合同

loan_no

varchar

64

贷款编号

declaration_content

text

0

申报内容

lender

int

11

贷款人

first_level_approval

varchar

64

一级审批

secondary_approval

varchar

64

二级审批

secondary_approval_opinions

text

0

二级审批意见

contact_information

varchar

16

联系方式

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

repayment_center表:

字段名称

类型

长度

不是null

主键

字段说明

备注

repayment_center_id

int

11

主键

还款中心ID

title

varchar

64

标题

loan_no

varchar

64

贷款编号

lender

int

11

贷款人

invoice

varchar

255

发票

repayment_progress

varchar

64

还款进度

contact_information

varchar

64

联系方式

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

scholarship_application表:

字段名称

类型

长度

不是null

主键

字段说明

备注

scholarship_application_id

int

11

主键

奖学金申报ID

title

varchar

64

标题

scholarship_number

varchar

64

奖学金编号

declaration_content

text

0

申报内容

declarant

int

11

申报人

scholarship_amount

varchar

64

奖学金数额

first_level_approval

varchar

64

一级审批

secondary_approval

varchar

64

二级审批

secondary_approval_opinions

text

0

二级审批意见

contact_information

varchar

16

联系方式

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

seat

varchar

64

座位号

create_time

datetime

0

创建时间

CURRENT_TIMESTAMP

update_time

timestamp

0

更新时间

CURRENT_TIMESTAMP

school_run_users表:

字段名称

类型

长度

不是null

主键

字段说明

备注

school_run_users_id

int

11

主键

校办用户ID

job_number

varchar

64

工号

examine_state

varchar

16

审核状态

recommend

int

11

智能推荐

    • 系统实现

    • 数据库访问层的实现

该系统是通过jdbc和Mysql达成连接的,新建一个jdbc.properties文件来填写与数据库连接所需要的驱动和参数。

jdbc.driverClass=com.Mysql.jdbc.Driver

jdbc.url=jdbc:Mysql://localhost:3306/tsi

jdbc.username=root

jdbc.password=123

第一个参数代表Mysql数据库的驱动,第二个参数代表要连接的数据库,第三个和第四个参数代表数据库连接名和密码。

后台与数据库访问主要是通过HQL语句来进行查询的,查询语句中的表名是表格的实体类名,在这种查询语句中*是不允许使用的,除非适合聚合函数一起使用才可以。

    • 用户注册模块的实现

用户注册页面输入账号、密码昵称、邮箱、手机号码、注册身份等基本信息完成注册。注册流程图如下图所示。

图5-1注册流程图

    • 登录模块的实现

主要由两部分组成,登录前的登录界面以及登录后的用户功能界面。登录界面,要求用户输入用户名和密码,当用户名和密码其中一个输入为空时,给出提示“用户名,密码不能为空”。获取用户名和密码后到数据库中查找,如果用户名存在,以及对应的密码正确,则登录成功,否则登录失败。登录失败后给出提示,并把焦点停在文本框中。登录成功后将该次会话的全局变量username设置为用户名。登录成功后进入会员的功能模块,主要有会员基本信息修改,已经发布贷款申请信息管理,发布信息,和退出功能。退出功能是清除全局变量username的值,并跳回到首页。

登录流程图如下图所示。

图5-2登录流程图

用户登录界面如下图所示。

图5-3用户登录界面

用户登录的关键代码如下。

if(ac.equals("adminlogin"))

{

String username = request.getParameter("username");

String password = request.getParameter("pwd");

String utype = request.getParameter("cx");

String pagerandom = request.getParameter("pagerandom")==null?"":request.getParameter("pagerandom");

String random = (String)request.getSession().getAttribute("random");

if(!pagerandom.equals(random)&&request.getParameter("a")!=null)

{

request.setAttribute("random", "");

go("/login.jsp", request, response);

}

else{

String sql1 = "select * from allusers where username='"+username+"' and pwd='"+password+"' ";

List<HashMap> userlist1 = dao.select(sql1);

if(userlist1.size()==1)

{

request.getSession(). setAttribute("username", userlist1.get(0).get("username"));

request.getSession(). setAttribute("cx", userlist1.get(0).get("cx"));

gor("main.jsp", request, response);

}else{

request.setAttribute("error", "");

go("/login.jsp", request, response);

}

}

}

    • 贷款申请模块的实现

此页面的关键是编写贷款申请信息,包括贷款申请编号,名称,详情等。单击提交按钮以完成信息的添加。如果未写入完整的贷款申请信息,例如,如果未写入贷款申请编号,系统将给出相应的错误提示,并且无法成功输入。数据以概念的形式以onsubmit =“return checkForm()”的形式写入以进行检查,checkForm()函数是一种用于写入数据的不同类型的校对方法,是不是为空也是经过form表单中的οnsubmit=”return checkForm()来检查。

管理员点击左侧菜单“贷款申请信息管理”,页面跳转到贷款申请信息管理外观,调用后台贷款申请查询所有贷款申请信息。并将信息密封到数据集合List,绑定到请求对象,然后页面跳转到相应的jsp,显示出贷款申请信息,单击删除按钮完成贷款申请信息的删除。

贷款申请管理流程图如下图所示。

图5-4贷款申请管理流程

贷款申请界面如下图所示。

图5-5贷款申请交界面

贷款申请管理界面一级审批如下图所示。

图5-6贷款申请一级审批管理界面

贷款申请管理界面二级审批如下图所示。

图5-7贷款申请二级审批管理界面

贷款申请完成界面如下图所示。

图5-8贷款申请完成审批界面

贷款申请递交关键代码如下。

<%

HashMap ext = new HashMap();

if(request.getParameter("f")!=null){

ext.put("issh","否");

new CommDAO().insert(request,response,"shujujilu",ext,true,false,"");

}

%>

    • 助学金申请模块的实现

用户浏览助学金申请信息时,同时会显示助学金申请的状态,系统会在其显示详细信息的页面时便会判断助学金申请的状态,会先通过拦截器判断用户是否登录,若未登录,会跳转至登录页面,提示用户先登录,若为登录用户就会跳转至填写助学金申请信息的页面,填写好助学金申请信息之后,点击提交按钮,助学金申请申请成功之后返回提示信息,告知用户助学金申请成功。

助学金申请界面如下图所示。

图5-9助学金申请交界面

助学金申请管理界面一级审批如下图所示。

图5-10助学金申请一级审批界面

助学金申请管理界面二级审批如下图所示。

图5-11助学金申请二级审批界面

助学金申请完成界面如下图所示。

图5-12助学金申请成功审批界面

    • 还款中心模块的实现

还款中心功能整体流程:用户浏览合同签订信息时,同时会显示合同签订的状态,系统会在其显示详细信息的页面时便会判断合同签订的状态,若合同签订状态为可还款提醒,则会显示还款提醒的链接按钮。在用户点击还款按钮时,会先通过拦截器判断用户是否登录,若未登录,会跳转至登录页面,提示用户先登录,若为登录用户就会跳转至填写还款提醒信息的页面,填写好还款信息之后,点击提交按钮,还款成功之后返回提示信息,告知用户还款成功。

还款提醒流程图如下图所示。

图5-13还款中心流程图

还款界面如下图所示。

图5-14还款中心界面图

还款提醒管理界面如下图所示。

图5-15还款中心管理界面

还款中心添加关键代码如下。

<%

HashMap ext = new HashMap();

if(request.getParameter("f")!=null){

ext.put("issh","否");

new CommDAO().insert(request,response,"shujujilu",ext,true,false,"");

}

%>

    • 系统测试

    • 测试目的

对任何系统而言,测试都是必不可少的环节,测试可以发现系统存在的很多问题,所有的软件上线之前,都应该进行充足的测试之后才能保证上线后不会Bug频发,或者是功能不满足需求等问题的发生。下面分别从单元测试,功能测试和用例测试来对系统进行测试以保证系统的稳定性和可靠性。

    • 功能测试

下表是系统登录功能测试用例,检测了用户名和密码的不同的输入情况,观察系统的响应情况。得出该功能达到了设计目标。

表6-1 系统登录功能测试用例

功能描述

用于系统登录

测试目的

检测登录时的合法性检查

测试数据以及操作

预期结果

实际结果

输入的用户名和密码带有非法字符

提示用户名或者密码错误

与预期结果一致

输入的用户名或者密码为空

提示用户名或者密码错误

与预期结果一致

输入的用户名和密码不存在

提示用户名或者密码错误

与预期结果一致

输入正确的用户名和密码

登录成功

与预期结果一致

下表是贷款申请管理功能的测试用例,检测了贷款申请管理中对贷款申请信息的增加,删除,修改,查询操作是否成功运行。观察系统的响应情况,得出该功能也达到了设计目标,系统运行正确。

前置条件;用户登录系统。

表6-2 贷款申请管理的测试用例

功能描述

用于贷款申请管理

测试目的

检测贷款申请管理时的各种操作的运行情况

测试数据以及操作

预期结果

实际结果

点击添加贷款申请,必填项合法输入,点击保存

提示添加成功

与预期结果一致

点击添加贷款申请,必填项输入不合法,点击保存

提示必填项不能为空

与预期结果一致

点击修改贷款申请,必填项修改为空,点击保存

提示必填项不能为空

与预期结果一致

点击修改贷款申请,必填项输入不合法,点击保存

提示必填项不能为空

与预期结果一致

点击删除贷款申请,选择贷款申请删除

提示删除成功

与预期结果一致

点击搜索贷款申请,输入存在的贷款申请名

查找出贷款申请

与预期结果一致

点击搜索贷款申请,输入不存在的贷款申请名

不显示贷款申请

与预期结果一致

    • 性能测试

使用阿里云PTS(Performance Testing Service)性能测试服务对线上系统进行压力测试。线上服务器环境为:1核心CPU,1G内存,1Mbps公网带宽,Centos7.0操作系统。

压测过程中使用了2台并发机器,每台机器20个用户并发,对系统主页,登录,数据查询和数据维护等模块进行并发访问,测试结果是有40个用户并发时,数据管理相关页面的响应时间甚至达到了7s,通过查看服务器出网流量发现已经达到1381kb/s,可以看出服务器的带宽已经达到峰值,如果系统使用5Mbps的带宽,系统的响应时间和TPS将会大大增加。在整个测试的过程中,CPU的使用率占用仅8%,也提现出带宽瓶颈对系统的影响非常严重。

    • 总结与展望

随着计算机互联网技术的迅猛发展,各行各业都已经实现采用计算机相关技术对日益放大的数据进行管理。该课题是助学贷款系统为核心展开的,主要是为了实现助学贷款信息化管理和银行签订合同的需求。

助学贷款系统的开发是以Java编程语言作为基础,在Myeclipse平台上完成编码工作,系统整体为B/S架构,数据库系统使用Mysql。文中详细分析了助学贷款系统的研究背景、研究目的和意义、开发工具和相关技术以及系统需求、系统详细设计和系统测试等等一系列内容。系统实现了助学贷款系统所需的一些基本功能,并通过测试对这些实现的功能进行了完善,进而提高了系统整体的实用性。整个系统的开发过程中大量使用了Java相关的知识以及前端开发使用的html和javascript等,同时涉及到了很多开源框架和组件,例如后台系统中运用的MVC架构、Freemarker模板引擎等,前端运用的UI框架等。

系统投入运行时,各功能均运行正常。系统的每个界面的操作符合常规逻辑,对使用者来说操作简单,界面友好。整个系统的各个功能设计合理,体现了人性化。

但是由于自己在系统开发过程中对一些用到的相关知识和技术掌握不够牢固,再加上自身开发经验欠缺,因此系统在有些方面的功能还不够完善,考虑的不够全面,因此整个系统还有待日后逐步完善。

参考文献

[1]Jinusha Panigrahi. Higher Education Financing in India:Student Loans and Equity in Access[M].Taylor and Francis:2021-12-07.

[2]刘翠. 全面优化助学贷款服务 点亮54万巴渝学子求学梦[N]. 重庆日报,2021-12-03(019).

[3]时秀容,蔡艳.大学生国家助学贷款贷后违约行为及其治理[J].太原城市职业技术学院学报,2021(10):88-91.DOI:10.16227/j.cnki.tycs.2021.0613.

[4]单树倩,任佳勋.基于SpringBoot和Vue框架的数据库原理网站设计与实现[J].电脑知识与技术,2021,17(30):40-41+50.DOI:10.14004/j.cnki.ckt.2021.2868.

[5]李焱,许欣,谢宜勤,贺绍君.助学贷款中农村大学生诚信问题研究[J].山东农业工程学院学报,2021,38(10):93-97.DOI:10.15948/j.cnki.37-1500/s.2021.10.016.

[6]魏玉坤,申铖.国家助学贷款额度提高4000元[J].青春期健康,2021,19(20):89.

[7]于忠宁. 助学贷款新政让学子圆梦道路更畅通[N]. 工人日报,2021

[8]葛孟超,赵展慧. 助学贷款,助力学子成长成才[N]. 人民日报,2021

[9]徐光明,甘甜.在“助人”中打造“育人”品牌[J].江西教育,2021(28):28-29.

[10]张辉. 助学贷款提额 助力学子圆梦[N]. 许昌日报,2021-09-28(003).

[11]泓凯. 谨防助学贷款骗术“升级版”[N]. 昆明日报,2021

[12]桂从路. 助学贷款畅通圆梦通道[N]. 人民日报,2021

[13]李文锦.国家助学贷款额度提高[J].山东教育,2021(39):5.

[14]李英锋. 提高助学贷款额度 不让一个学生因贫失学[N]. 嘉兴日报,2021

[15]张思楠. “保障每一个学生不因家庭经济困难失学”[N]. 中国财经报,202

[16]王观. 国家助学贷款额度提高4000元[N]. 人民日报,2021

[17]李克强主持召开国务院常务会议 决定强化国家助学贷款支持通过《中华人民共和国农产品质量安全法(修订草案)》[J].致富天地,2021(09):6.

[18]张煜,夏义堰.助学贷 达州农商银行助学子圆梦想[J].当代县域经济,2021(09):112.DOI:10.16625/j.cnki.51-1752/f.2021.09.037.

[19]Greene Elisa M,Greene W Nathan,Greene William L. Addressing the burden of student loan debt: A case-based review of influencing considerations.[J]. American journal of health-system pharmacy : AJHP : official journal of the American Society of Health-System Pharmacists,2021:

[20]Jian Chen,Chen Jian,Pan Hailan. Design of Man Hour Management Information System on SpringBoot Framework[J]. Journal of Physics: Conference Series,2020,1646(1):

致谢

本次设计历时3个月。在这个毕业设计中,它离不开指导教师的指导,使事情基本顺利。指导老师无论是在毕业设计历经中,还是在论文做完中都给了了我特别大的助益。另1个方面,教师认真负责的工作姿态,谨慎的教学精神厚重的理论水准都使我获益匪浅。他勤恳谨慎的教学育人学习姿态也给我留下了特别特别深的感觉。我从老师那里学到了很多东西。在理论和实践中,我的技能得到了特别大的提高。在此,特向教师表示由衷的感激。

经过对该毕业设计的全部研究和开发,我的系统研发经历了从需求分析到实现详细功能,再到最终测试和维护的特殊进展。让我对系统研发有了更深层次的认识。如今我的动手本领单独处理疑惑的本领也获取到了特别大的演练学习增多,这是这次毕业设计最好的收获。

最后,在整个系统开发过程中,我周围的同学和朋友给了我很多意见,所以我很快就确认了系统的商业思想。在次,我由衷的向他们表示感激。

免费领取项目源码,请关注点赞+私聊

Guess you like

Origin blog.csdn.net/Q_3461074420/article/details/128904061