Professional Documents
Culture Documents
Inventory and Sales Management Report
Inventory and Sales Management Report
学生姓名(Name):
学 号(Student ID):
专 业(Majority):计算机科学与技术
班 级(Class):21 计算机 L1
指导教师(Teacher):何灵敏 He Lingmin
学院(College):信息工程学院
June 2024
1. Abstract (Overview)
This project involves developing an inventory and sales management system using JavaFX
and MySQL. The system provides functionalities for managing inventory, handling sales
transactions, and maintaining customer records. It includes a user-friendly interface for
different user roles, such as administrators, inventory managers, and salesmen, enabling
efficient management of business operations.
Functional Requirements
1. Tables:
- Users (Admin, Salesman, Inventory Manager)
- Products
- Orders
- Customers
- Inventory
2. Login Page:
- Secure login for different user roles.
3. Business Pages:
- Add, update, delete, and query functionalities for products, orders, and customer
information.
Performance Requirements:
The system should be responsive and capable of handling multiple users simultaneously. It
should ensure data integrity and security, especially for sensitive customer and transaction
information.
4. Database Design
Conceptual Model (E-R Diagram)
The conceptual model includes entities such as Users, Products, Orders, Customers, and
Inventory. Each entity has specific attributes and relationships with other entities.
Logical Model
The logical model defines the structure of the database tables, including columns, data
types, and constraints.
Physical Model
The physical model outlines the actual implementation of the database tables in MySQL.
Stored Procedures, Functions, Triggers
The system uses stored procedures and triggers to automate business logic and ensure data
integrity.
5. Application Design and Implementation
Module Descriptions
Flow Chart
The flow chart illustrates the interaction between different modules and the sequence of
operations for various system functionalities.
6. System Test
Test Cases
The system test includes various test cases for each module to ensure that all functionalities
work as expected. Test cases cover scenarios such as user login, product management,
order processing, and data queries.
7. Database Access
Database Connection
The system connects to the MySQL database using JDBC. It includes configuration settings
for the database connection, such as the database URL, username, and password.
9. References
[1] JavaFX Official Documentation
[2] MySQL Documentation
[3] JDBC Tutorial