当前位置:网站首页>Ssm+jsp realizes enterprise management system (OA management system source code + database + document +ppt)

Ssm+jsp realizes enterprise management system (OA management system source code + database + document +ppt)

2022-07-07 04:13: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 Enterprise information management system !

Nowadays, with the rapid development of the national economy and the Internet , Enterprise information management is developing rapidly . Enterprise information management is to break the traditional paper office , Provide convenience for staff 、 Efficient 、 Fast work exists . As computers are used more and more widely , Build a simple , Easy to use enterprise information management system is very important . The system is simple and easy to use , An information management system with various functions . And the enterprise information management system is quite extensive , This is mainly for the reimbursement of expenses and the management of departments and employees .

Based on the above questions , The automation system jointly designed by us this time is actually a separation project of the middle and front end , Most of the front-end uses JSP Design statements for the management system , Most of the backend uses MySQL Manage for database system ,Spring、Spring MVC、Mybatis As a back-end framework . The main templates are login modules , Financial management module , Basic management module , Personal information management ; Financial management also includes pending reimbursement documents 、 Personal reimbursement form 、 Fill in the reimbursement form ; The basic information management module includes employee management and department management , Personal information management includes personal information 、 Set the password 、 logging 、 Log out .

Two 、 The historical background of office automation

1、 Background and significance of system development

In recent years , Due to the increasing popularity of computers , China's domestic networks have sprung up , The development momentum is also very fast , And the Internet has become our work 、 Study 、 Daily life is inseparable from a platform , The application of Internet has brought a very profound impact on people's life . Internet information technology is not only limited to information services , And it has also increasingly formed an information platform that provides consumers with strong information capabilities . such as , Network e-commerce 、 Social information database . Internet realizes remote communication , People can use computer networks to deliver e-mail , Hold an online conference , Online shopping , Or you can go to school at home ( Online education ). The Internet still has great potential to develop and use . therefore ,OA The birth of management system has brought information management to the company .

OA The management system has also become the basic management system of all companies at the beginning of their establishment . from C/S The architecture has developed to B/S After architecture , From the original desktop office software application 、 Send and receive mail , In the later document circulation 、 Vehicle management 、 Conference control 、 Use of online approval and other software ,OA It is always used most by people at ordinary times 、 It is also the most common basic operating system .

Due to the continuous improvement of network application technology , Within the company, there is a higher demand for their mutual information communication ability . Now many companies have corresponding information technology infrastructure , There are a considerable number of information system equipment and information sources , There are interfaces to each other , All require seamless transmission of information . therefore , Arming companies with information technology is the current development trend . Adapt to this development trend , Office automation management system , To meet human needs . The office automation management system is also called OA(Office Automation). It uses modern information , Make people's various office management and business activities gradually by all kinds of mechanical equipment 、 All kinds of man-machine and information systems to assist and carry out , And use modern information technology to improve efficiency and service quality , Thus greatly improving the productivity of a system .

2、 Development at home and abroad

OA The system can be divided into four stages from the perspective of using content : The first stage : Document type OA(1980~ In 1999 ) It mainly focuses on personal work behavior , It mainly provides services such as electronic documents , So we can call this stage " Document type OA". The next stage : Process type OA(000-005 year ) From the original focus on individuals 、 With office documents / File based management OA System , At the current stage of development, a process has been formed OA The mainstream system , It mainly takes personal office process as the core , Realize document circulation 、 Procedure review 、 Document control 、 System management 、 Conference control 、 Vehicle management 、 A series of practical functions such as information release . The next step is the third stage : Knowledge type OA(005-010) With OA Technology is gradually used widely , Our first thing in the morning is probably to log in OA Management system , Receive email , Look at the latest news of the enterprise , And deal with some things you have to do today .

OA It has become the basic network platform for people's daily work . At present, the most common is intelligence OA, It is with the solidification and improvement of organizational business processes , And the accumulation and application of professional knowledge , With the improvement of innovation consciousness and management skills , At this stage OA We will pay more attention to the effectiveness of organizational decisions , Support for decision 、 Knowledge mining 、 Business intelligence management and other services .

3、 Research content of the work

The R & D content of this work is through the current mainstream front and rear end separation technology , The front end mainly adopts JSP, The back end mainly uses Spring、Spring MVC、Mybatis、MySQL Database technology to achieve a OA Management system , The main contents include system login , Then the registration is performed by the system , Then log in to the management system , Pending reimbursement 、 Personal reimbursement document query 、 Fill in the reimbursement form 、 Employee management 、 Department management and personal center module . Pictured :

3、 ... and 、 development tool

1、IDEA Back end development tools

IDEA full name IntelliJ IDEA, Is a kind of use Java Comprehensive environment for programming language technology development ( You can also use any programming language ),IntelliJ It has always been considered the best in the industry Java A programming language technology development tool , Especially in intelligent code assistant 、 Code auto suggestion 、 restructure 、j EE Support 、Ant、JUnit、CVS Integrate 、 Code audit 、 innovation GUI Other fields ,IDEA yes JetBrains The main products of , The headquarters of the enterprise is located in Prague, the capital of the Czech people's Republic , Most of its developers are programmers from central and Eastern European countries who are famous for their preciseness .

2、JSP Front end development tools

JSP: Full name :java Server page , from sun Ltd. proposes , Is a dynamic web page programming technology , yes java Dynamic resources on the server side , It is associated with HTML comparison , Static data information that can only be submitted to users , but JSP Technology can only be nested in the whole page java Code , In the dynamic financial data submitted to users , and Servlet Compare ,Servlet It is difficult to rank financial data , and JSP Technology can not only generate dynamic numbers , And it is easier to make layout of financial data , therefore JSP Technology and Servlet Technology can be used to publish dynamic network resources . however , Because of the particularity of these two technologies , In long-term software practice , People have gradually put Servlet Technology is regarded as a controller component in network applications , And put JSP Technology is applied as a display module of financial data . Actually ,JSP Just a Servlet. When you first use JSP when ,JSP The engine will take JSP Translate into Servlet, And save to Tomcat In the working directory file of , As shown in the figure :

3、tomcat The server

Tomcat yes Apache Software foundation Jakarta A core construction project of the project , from Apache、Sun Group and several other enterprises and individuals develop . stay Sun With the long-term investment and support of the Group , The updated Servlet and JSP Standard in Tomcat Always use ,Tomcat5 It also supports updated Servlet.4 and JSP.0 standard . because Tomcat Leading technology , Feature safety , And it's free . It has now become a popular Web One of the application servers .

Tomcat The server is free 、 Open Web application server , It is also a lightweight application client , It is suitable for small and medium-sized systems and when the number of users visiting at the same time is not high , It's release and testing JSP Ideal for programs . For beginners , Think like this : On a certain computer Apache After the server , It will be able to respond to browsing HTML Website requirements . and Tomcat It's actually Apache A function of the server , But because it will work alone when it is implemented , So when you operate Tomcat When , It's actually just for Apache An independent process of work .

The trick is , When the setting is correct , from Apache Provides HTML Webpage , and Tomcat Actually running JSP Page and Servlets. independent Servlet So is the container Tomcat Default template for . however ,Tomcat Manage static HTML The power of is no better than Apache Good server . at present ,Tomcat The updated version of is 9:00 .

4、 Spring

Spring Is an open source architecture ,Spring It is a lightweight that was born in 2003 Java R & D framework , From Rod Johnson In his 《 Experts one on one J EE R & D and product design 》 Some theories and prototypes introduced in the book . This is to overcome the complexity of enterprise application research and development . An important advantage of this framework is its hierarchical structure , It allows users to freely choose which module to use , And also for small and medium-sized enterprises J EE Researchers and developers provide a highly integrated framework . although Spring It can be done through the basic JavaBeans To do the past can be used EJB Implemented transactions . however ,Spring The application of is not limited to server-side research and development . all Java Technology can be applied in Spring High simplification of 、 Benefit from testability and loose coupling . because Spring The core technology of is inversion control (IoC) And facing the Tang people (AOP). In short ,Spring It's a hierarchical JavaSE/EE The whole stack ( "One-stop" work style ) Lightweight open architecture .

5、 Spring MVC

Spring MVC yes Spring A template for architecture ,Spring MVC And Spring There is no need to use an intermediate integration layer for integration , It is based on MVC Of web framework , Its presentation layer can facilitate the transfer of front and rear data ; Its control layer functions and Struts almost , Be responsible for accepting external requirements , And analyze the parameters and send them to the service layer .MVC Of M Is the template layer ,C It's the control layer ,V Is the display layer , And in the SSM In the architecture Spring MVC Itself is MVC framework ,mvc The implementation logic is shown in the figure 2-3 Shown .

6、maven

Maven It is a cross platform project management development tool . Mainly based on Java Project construction of the platform , Management and project information management . among maven Divided into central warehouses , Private clothes , Local warehouse, etc , Pictured 2-5 Shown , Then we download one maven Later, the central warehouse in the United States is generally used , Due to national reasons , Go to , Download in the United States jar Package to private server or local warehouse , It's going to be slow , Alibaba cloud has also built maven The server , It's like a transit station , We visit Alibaba cloud's central server , When Alibaba cloud visits the United States, the download will be fast , In China, we all access Alibaba cloud's central server .

Four 、 Overall design of the system

1、 System use case diagram

Use case diagrams are used to describe the relationship between the performer and the system , Explain who wants to use the system , And what they can do with the system . The graph we use here is composed of powerdesigner Drawn enterprise use case diagram , and powerdesigne It is Sybase Enterprise model and product design solutions , The model driven method is adopted . Pictured :

2、 System directory structure

3、 Database design

4、 Database table design

  • surface 4-1 claim_voucher surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idint100NY Reimbursement No
2causevarchar1000YN Reason for reimbursement
3create_idchar100YN founder
4create_timedatetime190YN Creation time
5next_deal_idchar100YN To be handled by
6total_amountdouble230YN Total sum
7statusvarchar200YN Processing status
  • surface 4-2 claim_voucher_item surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idint100NY Number
2claim_voucher_idint100YN Reimbursement
3itemvarchar200YN Fee type
4amountdouble230YN amount of money
5commentvarchar1000YN describe
  • surface 4-3 deal_record surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idint100NY Reimbursement document processing number
2claim_voucher_idint100YN Reimbursement
3deal_idchar100YN Dealing with people
4deal_timedatetime190YN The processing time
5deal_typevarchar200YN Type of treatment
6deal_resultvarchar200YN Processing results
7commentvarchar1000YN describe
  • surface 4-4 department surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idchar100NY Department number
2namevarchar200YN Department name
3addressvarchar1000YN Department Address
  • surface 4-5 employee surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idchar100NY Employee number
2passwordvarchar200YN password
3namevarchar200YN Employee name
4department_idchar100YN Department
5postvarchar200YN Position
  • surface 4-6 log surface
Number name data type length Decimal places Allow null value Primary key The default value is explain
1idint100NY
2employee_idchar100NN
3operation_timedatetime190YN
4operationvarchar1000YN

5、 ... and 、 Main interface design

Login screen : On the login page, you only need to enter the job number and password and click login to successfully enter the system , But as long as you enter the wrong password or job number , The system will prompt “ The job number and password you entered are wrong , Please re-enter ”, In order not to input the job number and password every time , We just need to click to remember the password , Then the next login does not need to repeat the input . As shown in the figure :

Main user interface : The main interface of the user can clearly see the financial management , Basic information management module and personal information management three main modules . As shown in the figure :

Fill in the reimbursement form interface : We only need to fill in the reason for reimbursement 、 Type and amount of reimbursement , Click save , Then click Submit . The process will arrive at the leader and be reviewed by the leader . As shown in the figure :

Personal reimbursement form interface : You can view all your reimbursement processes , There is a detailed information on the right , Click in to see all the records of the process clearly . As shown in the figure :

Pending reimbursement document interface : Click review to enter the second interface , Can pass , You can call back , It is usually wrong to type back , Submit after modification , Refuse is not to reimburse directly . As shown in the figure :

Reimbursement process : Fill in the reimbursement form and submit it to the Department Manager for approval , The Department Manager can either call back or refuse , If the amount is less than 10000 element , The Department Manager will go directly to the finance department to make payment , If the amount is greater than 10000 Then it needs to be reviewed by the general manager . As shown in the figure :

Employee list interface : You can view the basic information of all employees . As shown in the figure :

Add employee interface : Just enter the employee's job number 、 full name 、 Department and position . As shown in the figure :

Department list interface : You can check the department number 、 Department Address . As shown in the figure :

Department addition interface : You need to enter the number, name and address of the Department . As shown in the figure :

Change password interface : You need to enter the original password and modifiable password . As shown in the figure :

Logging interface : Record the time when the account enters this system . As shown in the figure :

6、 ... and 、 Summary and prospect

The system provides convenience for the intelligent office of enterprises , The main function of the system is the reimbursement function . Due to the limited time, personal ability is limited , The whole system is not perfect , A perfect system is far from enough , It's just the tip of the iceberg . The system is simple 、 Convenient way provides great convenience for office staff , Fully realize the man-machine operation in the Internet era , It saves people time . There are many difficulties in the process of system development , for example :SQL Statement setting and tuning , However, through the guidance of teachers, the consultation with students and the inquiry of the network , All have been well solved . In these twoorthree months of design, I have learned a lot myself , Experience is very profound , The harvest is also great .

Enterprise information management system is a long-term work , At present, the system I developed is just a small beginning , The whole system still has a lot of room for improvement , Combined with my system , I think the following improvements can be made according to the following negative aspects :

(1) Because the system only has part of office business , Not all businesses , There is still a big gap from the real intelligent office , It will further understand the needs of users in practical applications , And make further improvements .

(2) The system is in personnel , Almost no cash withdrawal , Need to be further improved .

in summary : With the continuous improvement of computer level , Office automation has made a great leap , There is still a long way to go in the informatization management of our enterprise . I will make continuous efforts in my future work and study , Improve your computer skills .

7、 ... and 、 Source download

Project source code + database + Dissertation + Defence PPT Download address :https://download.csdn.net/download/weixin_44385486/85934132

原网站

版权声明
本文为[Programmer Xiao Wang Java]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062139599163.html