Note: Show part of the document content and system screenshots. If you need complete videos, codes, articles and installation and debugging environment, please send a private message to the up owner.
4.4 System E-R diagram design
E-R diagram, also known as Entity Relationship Diagram, provides a method to represent entity types, attributes and relationships, and is used to describe the real world's Conceptual model a>. [7]
It is an effective means to describe the conceptual model of real-world relationships and a way to represent the conceptual relationship model. This model often uses rectangular boxes to represent entity types, with entity names marked in the boxes; elliptical frames are used to represent entity attributes, and solid line segments are used to connect them with corresponding entity types; diamond boxes are used to represent the reasons for the connections between entity types. Mark the contact name in the box, connect it with the relevant entity type with a solid line segment, and indicate the contact type and type (such as 1:1, 1:n or m:n) next to the line segment. Examples of entity properties are as follows:
Administrator information entities include: number, user name, password and other attributes, as shown in Figure 4-3:
4.5 Database design
Profile table
List |
type of data |
Required |
describe |
id |
bigint(20) |
yes |
primary key |
name |
varchar(100) |
yes |
Configuration parameter name |
value |
varchar(100) |
no |
Configuration parameter values |
Parking space repair report form
List |
type of data |
Required |
describe |
id |
bigint(20) |
yes |
primary key |
addtime |
timestamp |
yes |
creation time |
chewibianhao |
varchar(200) |
no |
Parking space number |
cheweimingcheng |
varchar(200) |
no |
Parking space name |
cheweileixing |
varchar(200) |
no |
Parking space type |
Weizhi |
varchar(200) |
no |
Location |
baoxiuneirong |
longtext |
no |
Repair content |
baoxiushijian |
datetime |
no |
Repair time |
zhanghao |
varchar(200) |
no |
account |
xingming |
varchar(200) |
no |
Name |
sfsh |
varchar(200) |
no |
Whether to review |
shhf |
longtext |
no |
moderation reply |
Parking space return form
List |
type of data |
Required |
describe |
id |
bigint(20) |
yes |
primary key |
addtime |
timestamp |
yes |
creation time |
chewibianhao |
varchar(200) |
no |
Parking space number |
cheweimingcheng |
varchar(200) |
no |
Parking space name |
cheweileixing |
varchar(200) |
no |
Parking space type |
Weizhi |
varchar(200) |
no |
Location |
zulinleixing |
varchar(200) |
no |
Lease type |
tuizushijian |
datetime |
no |
Check-out time |
tuizubeizhu |
varchar(200) |
no |
Notes on renting out |
zhanghao |
varchar(200) |
no |
account |
xingming |
varchar(200) |
no |
Name |
loudongdanyuan |
varchar(200) |
no |
Building unit |
sfsh |
varchar(200) |
no |
Whether to review |
shhf |
longtext |
no |
moderation reply |
5 system implementation
5.1 Frontend module
5.1.1 Implementation of homepage function module
Function description: Users of this system can view the homepage information through this front-end WeChat system page, and can also perform corresponding operations based on this page and connect to other different addresses. Click to enter the system to enter this page. When the user opens the system, the first thing they see is the interface. Here, we can view the system navigation bar and topic introduction, etc. The system homepage login interface is shown in Figure 5-1:
5.2 Background module implementation
5.2.1 Implementation of the administrator module
The administrator uses the administrator account and password in the database system, selects the role and fills in the correct account and password to log in, as shown in Figure 5-2.
5.2.2 Implementation of parking space rental information module
The administrator can click on the parking space rental information interface. Enter the interface, as shown in Figure 5-3:
6.4 Test cases
6.4.1 User management test cases
Table 6-1 shows the user management use case table, which is used to test the user management function in the system. Through the user management use case table, the user management functions in the system can be comprehensively tested.
Table6-1 Usage management example table< /span>
test case |
step |
expected outcome |
actual results |
If the administrator wants to search for the user's information, he or she needs to enter part of the user's information in the search box to search for the user's information. |
The user information entered in the user management interface does not match the database user table record. |
Search failed |
Search failed |
If the administrator wants to add user information, he needs to click the Add button and enter the user's information. |
The user information entered in the user management interface conflicts with the database user table record. |
add failed |
add failed |
If the administrator wants to delete the user's information, he needs to click the delete button |
Click the delete button in the user management interface, if the deleted user information is related to other tables |
failed to delete |
failed to delete |
If the administrator wants to modify the user's information, he needs to click the modify button and enter the user's new information. |
The user information entered in the user management interface conflicts with the database user table record. |
fail to edit |
fail to edit |
6.4.2 Parking space rental management test case
The parking space rental management use case table can test the parking space rental management function in the system. The parking space rental management use case table is shown in Table 6-2.
Table6-2 Example table for car position tax management
test case |
step |
expected outcome |
actual results |
If the administrator wants to search for parking space rental information, he needs to enter part of the parking space rental information in the search box to search for parking space rental information. |
The parking space rental information entered in the parking space rental management interface does not match the parking space rental table records in the database. |
Search failed |
Search failed |
If the administrator wants to add parking space rental information, he needs to click the Add button and enter the parking space rental information. |
The parking space rental information entered in the parking space rental management interface conflicts with the database parking space rental table records. |
add failed |
add failed |
If the administrator wants to delete the parking space rental information, he needs to click the delete button |
Click the delete button in the parking space rental management interface. If the deleted parking space rental information is related to other tables |
failed to delete |
failed to delete |
If the administrator wants to modify the parking space rental information, he needs to click the modify button and enter the new parking space rental information. |
The parking space rental information entered in the parking space rental management interface conflicts with the database parking space rental table records. |
fail to edit |
fail to edit |
6.4.3 Rent statistical information management use cases
Table6.3 Tax accounting information management example Table
serial number |
testing scenarios |
enter |
output |
expected output |
1 |
Enter the rental statistical information name contained in the database record in the input box in the rental statistical information management interface. |
yong |
Display the searched rental statistics information |
Display the searched rental statistics information |
2 |
Click the Add button in the rental statistics information management interface to add rental statistics information. |
Basic information on rental statistics |
If the rental statistics information entered conflicts with the database record, the addition fails |
If the rental statistics information entered conflicts with the database record, the addition fails |
3 |
Click the Delete button in the rental statistics information management interface to delete the rental statistics information. |
none |
If the deleted rent statistics record does not have a foreign key relationship with records in other tables, it can be deleted successfully. |
If the deleted rent statistics record does not have a foreign key relationship with records in other tables, it can be deleted successfully. |
4 |
Click the Modify button in the rental statistics information management interface to modify the rental statistics information. |
Modify basic information about rental statistics |
If the rent statistics entered to be modified conflict with the database rent statistics table records, the modification cannot be successful. |
If the rent statistics entered to be modified conflict with the database rent statistics table records, the modification cannot be successful. |
Table of contents
2.1 Java language introduction
3.2subjectPerformance demand analysis a>
3.3.1 Performance requirements
3.3.3 Reliability requirements
3.4 System function operation process
3.4.1 Add user information process
3.4.2 Modify user information process
3.4.3 Deletion of user information process
4.1 System development process
5.1.1 Implementation of homepage function module
5.2 Background module implementation
5.2.1 Implementation of the administrator module
5.2.2 Implementation of parking space rental information module
5.2.3 Implementation of user information interface
5.2.4 Implementation of rent statistics information interface
6.4.1 Usage management exam example
6.4.2 Parking space rental management test case