当前位置:网站首页>Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
2022-07-07 04:18:00 【Programmer Xiao Wang Java】
Programmer Xiao Wang's blog : Programmer Xiao Wang's blog
Welcome to thumb up Collection Leaving a message.
If there are editorial errors, contact the author , If you have a better article, please share it with me , I will take the essence and discard the dross
java The learning route of self-study :java The learning route of self-study
One 、 Preface
Today I would like to share with you a suitable for college students to learn SSM+jsp Realize warehouse management system !
Use Spring+SpringMVC+Mybatis+maven+tomcat Realize warehouse management system , The interface is very beautiful !
With the development of computers , In life, only relying on manual management of a large number of goods in the mall will waste most of human and material resources , It will also cause higher human errors , Therefore, it is necessary to develop an inventory management system in shopping malls to greatly reduce mistakes and unnecessary waste . Realize digital information management , Improve management efficiency , Reduce operating costs . Using the store inventory management system can improve the operation of the store , Improve overall efficiency
Warehouses are widely used in real life , Various shopping malls 、 Supermarkets should use warehouses to store materials , Pharmacy 、 Hospitals should use warehouses to store drugs , Enterprises 、 Factories should use warehouses to store raw materials 、 Produce finished products , Therefore, warehouse management has become a very important work . Manual warehouse management is time-consuming and laborious , And it's easy to cause chaos , In serious cases, it will affect the mall 、 The normal operation of the enterprise , Cause bad consequences . With the development of computer technology , How fast , Efficient , Convenient warehouse management has received high attention . This system simulates warehouse management , The system is mainly aimed at the management of daily inventory information , Including material management 、 Warehouse management 、 Warehousing operation 、 Warehousing inquiry statistics 、 Delivery operation 、 Issue query statistics 、 Inventory query statistics and other processing . Users can use the corresponding modules , Query the basic information and inventory quantity of items in the warehouse , The administrator can easily manage the warehouse through simple operations , Query relevant information , And can carry out warehousing and outbound operations . Through the design and implementation of warehouse management system , So that we can consolidate and deepen our understanding of the basic theory and knowledge of database , Further master the basic idea and method of software design using database , It improves the ability of using database theory to solve practical problems , Exercise the practical ability 、 Innovation ability , Cultivate research 、 Consult the technical literature 、 Information 、 Manuals and the ability to write documents .
- Using technology
Two 、 Database design
Database selection is mysql8
1、 Database diagram
2、 Database management system database table design document
Database name : wms_db
Document version : V1.0.0
A document description : Warehouse management system database table design description
Table name | explain |
---|---|
wms_access_record | Access records |
wms_action | |
wms_customer | customer |
wms_goods | s goods |
wms_operation_record | The operation record |
wms_record_in | Log in records |
wms_record_out | Log out record |
wms_record_storage | Storage record |
wms_repo_admin | management |
wms_respository | Warehouse |
wms_role_action | |
wms_roles | |
wms_supplier | Supplier |
wms_user | user |
wms_user_role | User roles |
Table name : wms_access_record
explain :
Data columns :
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | RECORD_ID | int | 10 | 0 | N | Y | ||
2 | USER_ID | int | 10 | 0 | N | N | ||
3 | USER_NAME | varchar | 50 | 0 | N | N | ||
4 | ACCESS_TYPE | varchar | 30 | 0 | N | N | ||
5 | ACCESS_TIME | datetime | 19 | 0 | N | N | ||
6 | ACCESS_IP | varchar | 45 | 0 | N | N |
Table name : wms_action
explain :
Data columns :
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | ACTION_ID | int | 10 | 0 | N | Y | |||
2 | ACTION_NAME | varchar | 30 | 0 | N | N | |||
3 | ACTION_DESC | varchar | 30 | 0 | Y | N | |||
4 | ACTION_PARAM | varchar | 50 | 0 | N | N |
Table name : wms_customer
# Create a customer information table
create table wms_customer
(
CUSTOMER_ID int not null auto_increment,
CUSTOMER_NAME varchar(30) not null,
CUSTOMER_PERSON varchar(10) not null,
CUSTOMER_TEL varchar(20) not null,
CUSTOMER_EMAIL varchar(20) not null,
CUSTOMER_ADDRESS varchar(30) not null,
primary key(CUSTOMER_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | CUSTOMER_ID | int | 10 | 0 | N | Y | |||
2 | CUSTOMER_NAME | varchar | 30 | 0 | N | N | |||
3 | CUSTOMER_PERSON | varchar | 10 | 0 | N | N | |||
4 | CUSTOMER_TEL | varchar | 20 | 0 | N | N | |||
5 | CUSTOMER_EMAIL | varchar | 20 | 0 | N | N | |||
6 | CUSTOMER_ADDRESS | varchar | 30 | 0 | N | N |
Table name : wms_goods
# Create a customer information table
create table wms_customer
(
CUSTOMER_ID int not null auto_increment,
CUSTOMER_NAME varchar(30) not null,
CUSTOMER_PERSON varchar(10) not null,
CUSTOMER_TEL varchar(20) not null,
CUSTOMER_EMAIL varchar(20) not null,
CUSTOMER_ADDRESS varchar(30) not null,
primary key(CUSTOMER_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | GOOD_ID | int | 10 | 0 | N | Y | ||
2 | GOOD_NAME | varchar | 30 | 0 | N | N | ||
3 | GOOD_RYPE | varchar | 20 | 0 | Y | N | ||
4 | GOOD_SIZE | varchar | 20 | 0 | Y | N | ||
5 | GOOD_VALUE | double | 23 | 0 | N | N |
Table name : wms_operation_record
explain :
Data columns :
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | RECORD_ID | int | 10 | 0 | N | Y | ||
2 | USER_ID | int | 10 | 0 | N | N | ||
3 | USER_NAME | varchar | 50 | 0 | N | N | ||
4 | OPERATION_NAME | varchar | 30 | 0 | N | N | ||
5 | OPERATION_TIME | datetime | 19 | 0 | N | N | ||
6 | OPERATION_RESULT | varchar | 15 | 0 | N | N |
Table name : wms_record_in
# Create warehousing record table
create table wms_record_in
(
RECORD_ID int not null auto_increment,
RECORD_SUPPLIERID int not null,
RECORD_GOODID int not null,
RECORD_NUMBER int not null,
RECORD_TIME datetime not null,
RECORD_PERSON varchar(10) not null,
RECORD_REPOSITORYID int not null,
primary key(RECORD_ID),
foreign key(RECORD_SUPPLIERID) references wms_supplier(SUPPLIER_ID),
foreign key(RECORD_GOODID) references wms_goods(GOOD_ID),
foreign key(RECORD_REPOSITORYID) references wms_respository(REPO_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | RECORD_ID | int | 10 | 0 | N | Y | |||
2 | RECORD_SUPPLIERID | int | 10 | 0 | N | N | |||
3 | RECORD_GOODID | int | 10 | 0 | N | N | |||
4 | RECORD_NUMBER | int | 10 | 0 | N | N | |||
5 | RECORD_TIME | datetime | 19 | 0 | N | N | |||
6 | RECORD_PERSON | varchar | 10 | 0 | N | N | |||
7 | RECORD_REPOSITORYID | int | 10 | 0 | N | N |
Table name : wms_record_out
# Create a delivery record table
create table wms_record_out
(
RECORD_ID int not null auto_increment,
RECORD_CUSTOMERID int not null,
RECORD_GOODID int not null,
RECORD_NUMBER int not null,
RECORD_TIME datetime not null,
RECORD_PERSON varchar(10) not null,
RECORD_REPOSITORYID int not null,
primary key(RECORD_ID),
foreign key(RECORD_CUSTOMERID) references wms_customer(CUSTOMER_ID),
foreign key(RECORD_GOODID) references wms_goods(GOOD_ID),
foreign key(RECORD_REPOSITORYID) references wms_respository(REPO_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | RECORD_ID | int | 10 | 0 | N | Y | ||
2 | RECORD_CUSTOMERID | int | 10 | 0 | N | N | ||
3 | RECORD_GOODID | int | 10 | 0 | N | N | ||
4 | RECORD_NUMBER | int | 10 | 0 | N | N | ||
5 | RECORD_TIME | datetime | 19 | 0 | N | N | ||
6 | RECORD_PERSON | varchar | 10 | 0 | N | N | ||
7 | RECORD_REPOSITORYID | int | 10 | 0 | N | N |
Table name : wms_record_storage
# Create inventory record table
create table wms_record_storage
(
RECORD_GOODID int not null auto_increment,
RECORD_REPOSITORY int not null,
RECORD_NUMBER int not null,
primary key(RECORD_GOODID, RECORD_REPOSITORY),
foreign key (RECORD_GOODID) references wms_goods(GOOD_ID),
foreign key (RECORD_REPOSITORY) references wms_respository(REPO_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | RECORD_GOODID | int | 10 | 0 | N | Y | |||
2 | RECORD_REPOSITORY | int | 10 | 0 | N | Y | |||
3 | RECORD_NUMBER | int | 10 | 0 | N | N |
Table name : wms_repo_admin
# Create warehouse administrator information table
create table wms_repo_admin
(
REPO_ADMIN_ID int not null auto_increment,
REPO_ADMIN_NAME varchar(10) not null,
REPO_ADMIN_SEX varchar(10) not null,
REPO_ADMIN_TEL varchar(20) not null,
REPO_ADMIN_ADDRESS varchar(30) not null,
REPO_ADMIN_BIRTH datetime not null,
REPO_ADMIN_REPOID int,
primary key(REPO_ADMIN_ID),
foreign key (REPO_ADMIN_REPOID) references wms_respository(REPO_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | REPO_ADMIN_ID | int | 10 | 0 | N | Y | ||
2 | REPO_ADMIN_NAME | varchar | 10 | 0 | N | N | ||
3 | REPO_ADMIN_SEX | varchar | 10 | 0 | N | N | ||
4 | REPO_ADMIN_TEL | varchar | 20 | 0 | N | N | ||
5 | REPO_ADMIN_ADDRESS | varchar | 30 | 0 | N | N | ||
6 | REPO_ADMIN_BIRTH | datetime | 19 | 0 | N | N | ||
7 | REPO_ADMIN_REPOID | int | 10 | 0 | Y | N |
Table name : wms_respository
# Create warehouse information table
create table wms_respository
(
REPO_ID int not null auto_increment,
REPO_ADDRESS varchar(30) not null,
REPO_STATUS varchar(20) not null,
REPO_AREA varchar(20) not null,
REPO_DESC varchar(50),
primary key(REPO_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | REPO_ID | int | 10 | 0 | N | Y | ||
2 | REPO_ADDRESS | varchar | 30 | 0 | N | N | ||
3 | REPO_STATUS | varchar | 20 | 0 | N | N | ||
4 | REPO_AREA | varchar | 20 | 0 | N | N | ||
5 | REPO_DESC | varchar | 50 | 0 | Y | N |
Table name : wms_role_action
establish URL Permissions on the table
create table wms_action
(
ACTION_ID int not null auto_increment,
ACTION_NAME varchar(30) not null,
ACTION_DESC varchar(30),
ACTION_PARAM varchar(50) not null,
primary key(ACTION_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | ACTION_ID | int | 10 | 0 | N | Y | |||
2 | ROLE_ID | int | 10 | 0 | N | Y |
Table name : wms_roles
# Create user role table
create table wms_roles
(
ROLE_ID int not null auto_increment,
ROLE_NAME varchar(20) not null,
ROLE_DESC varchar(30),
ROLE_URL_PREFIX varchar(20) not null,
primary key(ROLE_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | ROLE_ID | int | 10 | 0 | N | Y | |||
2 | ROLE_NAME | varchar | 20 | 0 | N | N | |||
3 | ROLE_DESC | varchar | 30 | 0 | Y | N | |||
4 | ROLE_URL_PREFIX | varchar | 20 | 0 | N | N |
Table name : wms_supplier
# Create supplier information table
create table wms_supplier
(
SUPPLIER_ID int not null auto_increment,
SUPPLIER_NAME varchar(30) not null,
SUPPLIER_PERSON varchar(10) not null,
SUPPLIER_TEL varchar(20) not null,
SUPPLIER_EMAIL varchar(20) not null,
SUPPLIER_ADDRESS varchar(30) not null,
primary key(SUPPLIER_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | SUPPLIER_ID | int | 10 | 0 | N | Y | |||
2 | SUPPLIER_NAME | varchar | 30 | 0 | N | N | |||
3 | SUPPLIER_PERSON | varchar | 10 | 0 | N | N | |||
4 | SUPPLIER_TEL | varchar | 20 | 0 | N | N | |||
5 | SUPPLIER_EMAIL | varchar | 20 | 0 | N | N | |||
6 | SUPPLIER_ADDRESS | varchar | 30 | 0 | N | N |
Table name : wms_user
# Create system user information table
create table wms_user
(
USER_ID int not null auto_increment,
USER_USERNAME varchar(30) not null,
USER_PASSWORD varchar(40) not null,
USER_FIRST_LOGIN int not null,
primary key (USER_ID)
)engine=innodb;
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain | |
---|---|---|---|---|---|---|---|---|---|
1 | USER_ID | int | 10 | 0 | N | Y | |||
2 | USER_USERNAME | varchar | 30 | 0 | N | N | |||
3 | USER_PASSWORD | varchar | 40 | 0 | N | N | |||
4 | USER_FIRST_LOGIN | int | 10 | 0 | N | N |
Table name : wms_user_role
explain :
Data columns :
Serial number | name | data type | length | Decimal places | Allow null value | Primary key | The default value is | explain |
---|---|---|---|---|---|---|---|---|
1 | ROLE_ID | int | 10 | 0 | N | Y | ||
2 | USER_ID | int | 10 | 0 | N | Y |
3、 ... and 、 Project function demonstration
Using technology
- Apache POI
- MyBatis
- Spring Framework
- Spring MVC
- Apache Shiro
- Ehcache
- Apache Commons
- Log4j
- Slf4j
- Jackson
- C3P0
- Junit
- MySQL-Connector
- jQuery
- Bootstrap
1、 Warehouse management function
- System operation authority management . The system provides basic login and logout functions , At the same time, the system contains two roles : Super administrators and ordinary system administrators , Super administrator has the highest operation authority , Ordinary administrators only have the most basic operation permissions , And it can only operate its own assigned warehouse .
request URL authentication . For the system user login after the operation to send a request URL, The background will judge whether it has the request according to the role of the current user URL Authority .
Basic data information management . Yes, including : Cargo information 、 Supplier information 、 Customer information 、 Warehouse information and other basic data information management , The operations provided are : add to 、 Delete 、 modify 、 Conditions of the query 、 Export to Excel From and to Excel Import .
Warehouse Manager Management . For warehouse manager information CRUD operation , Or assign the warehouse to be managed for the designated warehouse administrator . The above warehouse administrator can log in to the system as an ordinary administrator .
Inventory information management . The analysis of inventory information CRUD operation , Import and export operations , At the same time, the query can be based on the warehouse and commodity ID And so on .
Basic warehouse transaction operations . Implement the warehousing and outbound operations of goods .
System log query . Super administrator can query the system log of a user in a specific period of time .
System operation log query . Super administrators can query the operation records of a user's operation on the system in a specific period of time .
Password change .
2、 Login function realization
Database password use MD5 encryption
// User password (wms_user.USER_PASSWORD) Encryption rules
String tempStr = MD5Util.MD5("123456");// Encrypt the password for the first time
String encryptPassword = MD5Util.MD5(tempStr + "1001");// Encrypt the password for the second time
// The encrypted password stored in the database
System.out.println(encryptPassword);
3、 Screenshot of warehouse management system
Demo video :
SSM+jsp Realize warehouse management system
Project screenshots
- The login page
- Warehouse home page
- Inventory query
- Stock in and stock out query records
- In and out warehouse management
- The warehouse keeper added, deleted, modified and checked
- Supplier management
- Customer information management
- Cargo information management
- Warehouse information management
- Change Password
- system log
Four 、 Project source download
Project source code + Download address of database :https://download.csdn.net/download/weixin_44385486/85909953
边栏推荐
- Termux set up the computer to connect to the mobile phone. (knock the command quickly), mobile phone termux port 8022
- cuda编程
- 使用 Dumpling 备份 TiDB 集群数据到 GCS
- POJ training plan 2253_ Frogger (shortest /floyd)
- [coded font series] opendyslexic font
- Create commonly used shortcut icons at the top of the ad interface (menu bar)
- CUDA Programming
- Tflite model transformation and quantification
- 别样肉客联手德克士在全国部分门店推出别样汉堡
- OSCP工具之一: dirsearch用法大全
猜你喜欢
随机推荐
什么是 CGI,什么是 IIS,什么是VPS「建议收藏」
Kotlin Android 环境搭建
[leetcode]Spiral Matrix II
Implementation of map and set
In cooperation with the research team of the clinical trial center of the University of Hong Kong and Hong Kong Gangyi hospital, Kexing launched the clinical trial of Omicron specific inactivated vacc
ggplot 分面的细节调整汇总
科兴与香港大学临床试验中心研究团队和香港港怡医院合作,在中国香港启动奥密克戎特异性灭活疫苗加强剂临床试验
See Gardenia minor
Restore backup data on GCS with tidb lightning
2022年电工杯B 题 5G 网络环境下应急物资配送问题思路分析
Quick completion guide of manipulator (10): accessible workspace
Tflite model transformation and quantification
Different meat customers joined hands with Dexter to launch different hamburgers in some stores across the country
Ggplot facet detail adjustment summary
True Global Ventures新成立的1.46亿美元后续基金关账,其中普通合伙人认缴6,200万美元以对后期阶段的Web3赢家进行投资
[leetcode]Spiral Matrix II
接口自动化测试实践指导(中):接口测试场景有哪些
Operational amplifier application summary 1
Redis configuration and optimization of NoSQL
如何编写一个程序猿另一个面试官眼前一亮的简历[通俗易懂]