This week, the number of fans has doubled, and I decided to open source another supermarket management system.

Thank you all for your support and companionship! ! !

Not the code, not the boss.

Complete project:

Contains java code and sql file

 Link: https://pan.baidu.com/s/1ME9CCDIJVLHLbaqle9IU6A?pwd=pi0c
Extraction code: pi0c

Table of contents

background

Target

 Show results

other support


 

background

According to the investigation of a supermarket, it is necessary to realize the informatization of the management system in the links of commodity purchase, inventory and sales, so as to achieve the purpose of "information sharing, overall management, and reducing intermediate links". Enterprises can manage huge commodity information through the "Supermarket Shopping Management System" to realize the operation and management of commodity sales.

This project uses java as the development language, form control display interface, mysql database to store data, which can effectively exercise and strengthen students' ability to use java, mysql database and basic sql programming and development.

Target

 The goal of this project is to complete a supermarket shopping management system, the main functions include:

    1. Product maintenance

     (1) Product addition

      The input product price should be a real number greater than 0, and the product quantity should be an integer greater than 0, otherwise an input error will be displayed.

     (2) Changes to products

      Enter the name of the commodity to be changed, select the commodity to be changed, and the whole process is repeatable, such as commodity addition.

     (3) Deletion of products

     (4) Product list display

          Display product name, price, quantity, remarks, etc.

     (5) Commodity inquiry

        You can select query methods such as "Search by product quantity in ascending order", "Search by product price in ascending order", and "Search products by entering keywords".

     (6) List the list of commodities sold on the day.

    2. Front desk cashier

     (1) Front desk login

     Choose to log in to the system, enter the user name and password, and verify that the system is entered correctly; three login attempts are made, and the program is exited if all three entries are wrong.

    (2) Enter the commodity, enter the name, enter the quantity, calculate the price and summarize the price;

      Commodity cashier, input money, display change, after confirmation, commodity cashier is successful, and the number of commodity inventory is reduced.

   3. Salesperson management

       Add salesperson

       change salesperson

       delete salesperson

       show all salespersons

       Ask a salesperson

 Show results

front desk login

 Inquire about products

 Adding goods

Modify product

 delete item

 product details

commodity cashier

 Details of the day's sale

 Salesperson Information Overview

 increase salesperson

 Modify salesperson information

 delete salesperson

 Ask a salesperson

other support

 How to import external project packages in eclipse

Three methods of importing sql files in MySQL - Programmer Sought

 After importing the project, find the Mysql_operation class under the Tool package, and change the database, account and password.

If you have questions about this, please private message me.

I will help you solve the problem of this project through remote control.

I hope everyone can learn and make progress together! ! !

If you think the project is good, please leave your precious like! ! !

Guess you like

Origin blog.csdn.net/weixin_52473454/article/details/125017083