当前位置:网站首页>Database course design: college educational administration management system (including code)

Database course design: college educational administration management system (including code)

2022-07-06 12:26:00 Junfu Xiaotong


At the beginning : This course is designed by me 2021 I wrote it line by line during the summer vacation of , Now share it for free , If I can help you, I hope you can give me a compliment , thank you .

If you have any questions, you can leave a comment , If I see it, I will reply to you , But I can only answer questions about my code , For other configuration problems, search more .


Resource link ( Choose... For yourself , All free ):

CSDN resources
Baidu online disk extraction code :a5iq

Let me explain the code :

1、 This course design is not particularly tall , The human-computer interaction interface is used Java swing The various components of , The back end is Java and SQL server, In the compressed package, I give SQL file , After downloading, you can download it in SQL server Just run it directly , But I don't know MySQL perhaps Navicat Whether it can run , I suggest you search , I think it should be solved very well , If you want to use MySQL Words .

2、 Download zip 、 Open the package , There will be three things in it .

 Insert picture description here

These three things are :
Eclipse Of Project file ;
Create database's SQL Code ;
Course design report .

Be careful : The content in the course design report may be inconsistent with the actual code , Because I improved some functions in the later stage , We need to see this by ourselves , I only remember some :
Only courses can be selected in the report , But the code realizes the withdrawal ;
The function of viewing the schedule used to pop up a photo of the schedule directly , Now print out the schedule on the page .
That's all I remember .

3、 open Project

Only the normal steps are described below , No error by default , It is suggested to search online for solutions to the problems encountered in the operation .

File——Open Projects from File System

 Insert picture description here

Click on Directory choice Project file lin

 Insert picture description here

This is what it looks like when you open it :

 Insert picture description here

I only have one bag zzdx, It contains all the code of the project , In fact, this kind of coding habit is very bad , It would be tedious to have all the code in one package , It's also very unprofessional , And I didn't know anything when I was a sophomore MVC Frames and things like that , So it's all written in a bag .

Be careful : Only lf.java To run , Everything else is called .
Forgive me for taking a strange name , Most of them are Chinese initials , such as : the second ckcj.java, This file is the interface for viewing grades .

 Insert picture description here

Right click lf.java——Run As——Java Application

 Insert picture description here

The operation interface comes out . as follows : My interface is relatively simple , If you have time , You can search how to make the interface more beautiful .

 Insert picture description here

oh , All the picture files are in the bag , If you want to change it, you can change it directly in your bag .

 Insert picture description here

Also, if the text needs to be modified, you may need to find it in the code of the corresponding interface , For example, the educational administration system of Zhengzhou University in the first interface , Need to be in lf.java Internal modification .

 Insert picture description here

This kind of Chinese character is quite conspicuous in the code , So it should be easy to change , What may be difficult for you is to find the corresponding interface Java file .

Now let me explain the pages or functions represented by each code :( Not according to Eclipse From the order in the )

The director is equivalent to the administrator

identity Code name meaning
ALLlf.java The welcome page
ALLwelcome.java Choose identity
ALLdl.java、test.java Enter account password to log in ,test.java Used to generate verification code
ALLzzdx.java、zzdx1.java、zzdx2.java Account password verification ( Student 、 teacher 、 The director of the )
ALLsuccess.java、success1.java、success2.java、qq.java Home page after successful login ( Student 、 teacher 、 The director of the ),qq.java Used to generate the core part of the home page —— Function selection box
ALLerror.java Wrong account password
Student ckkb.java Check the timetable
Student ckcj.java Check your grades
Student cktz.java Check the notification
Student jsdh.java、more.java Inquire the teacher's phone ,jsdh.java Is to check the phone number of the teacher , If you want the phone number of other teachers, you can go to more.java Look inside
Student xk.java Course selection
Student tuike.java The drop
Student xgmm.java Change Password
teacher ckkc.java View the courses
teacher fbtz.java Issue notice
teacher sccj.java Upload student grades
The director of the ckjl.java Check the record of the results uploaded by the teacher
The director of the gznx.java Update the working years of teachers ( This function is useless , It is suggested to delete )
The director of the kskc.java Offering courses
The director of the zhgl.java、xs.java、js.java、sc.java、cj.java Account management ( Add or delete teacher and student accounts )

4、 function SQL file

stay SQL server in
file —— open —— file

It can also be in MySQL perhaps Navicat Middle try

 Insert picture description here

find zzdx.sql, open

 Insert picture description here
Click execute to create the database

 Insert picture description here

All such codes in the code need to be replaced with your own user name and password , If you put zzdx.sql Change to another name , that zzdx Also change your name , Only in this way can we successfully connect to the database .

 Insert picture description here

This may take a little time

First, use the mouse to select Class.forName

 Insert picture description here

Click on :Search——Text——Project

such Eclipse Can help you find in lin Project All appear in Class.forName The place of , Then modify them one by one , Just change one , Copy and paste directly in the back . It is suggested to try whether you can successfully connect to the database first, and then make all modifications .

 Insert picture description here

5、 Course design report

Let me emphasize again , The content in the report is different from the function of the code , But it's not much different , You can refer to .

6、 General interface

Page description picture
The welcome page  Insert picture description here
Identity choice  Insert picture description here
Enter the account and password  Insert picture description here
Login failed  Insert picture description here
Student home page  Insert picture description here
See the course ( The name is changed to check the course because I think it's troublesome to make students' classes look like timetables , So here is just a simple list , The previous name is to view the schedule because the function is to pop up a photo of the schedule , No, I think the editor , So you can put Project The class schedule pictures in are deleted , Because it's useless , Also, you can see that if the course name is too long, it cannot be displayed completely , I am using JLabel Components , If you have time, you can change to JTextField Components , All names can be displayed ) Insert picture description here
Check your grades (null It means that the teacher has not uploaded his grades , At this time, the default display is passed ) Insert picture description here
Check the notification ( Every notice will bring the name of the teacher , Only the notice sent by the class teacher , Students will receive , It's like this , I kind of forgot ) Insert picture description here
Inquiry telephone ( First, I will print out the phone number of my teacher , If you need other teachers , You can click More ) Insert picture description here
more ( Enter the name to query , If you have this teacher, print it out , Give a prompt without ) Insert picture description here
Course selection ( You can do fuzzy search , Click the course name to choose a course , The system will automatically compare whether there is a conflict between this course and the existing course , You can't remove the course from the current list immediately by selecting or dropping it , You need to exit and re-enter to see that the selected courses are not in the list , But a few more times will not make mistakes , This can rest assured ) Insert picture description here
The drop ( Click the course number to quit the course ) Insert picture description here
Change Password  Insert picture description here
Teacher Homepage  Insert picture description here
Check the courses taught ( Just like students, it's just a simple list ) Insert picture description here
Issue notice ( Only their own students will receive this notice ) Insert picture description here
Upload results ( Enter your grades and click Submit , Just like selecting courses , If you can't submit a student's grade, that student will be removed from the list , So you can upload your grades many times , The last time is the final score , But the uploaded records will be recorded in detail , The director can inquire , We upload it here to Zhuang Zhou 88 branch , I'll see if the director can check the modification record later ) Insert picture description here
Director homepage  Insert picture description here
View records ( Let's see if we can give it to Zhuang Zhou 88 A minute's record , In fact, there is still a problem I want to talk about , If there are too many modified records, they cannot be displayed completely , It needs to be cleaned up regularly record.txt file , There are also courses , If there are too many courses to choose from, they cannot all be displayed , If you have time, you can search what component can be replaced to realize the drop-down bar , Then put these record information or course information into the drop-down bar component , In this way, you can load all the contents ) Insert picture description here
Offering courses  Insert picture description here
Account management ( Including the creation and deletion of teachers' and students' accounts , I'm too lazy to take pictures ) Insert picture description here

7、 Okay , be it so , If it helps you, I hope you can give me a compliment

原网站

版权声明
本文为[Junfu Xiaotong]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060913508870.html