当前位置:网站首页>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 .
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
Click on Directory choice Project file lin
This is what it looks like when you open it :
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 .
Right click lf.java——Run As——Java Application
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 .
oh , All the picture files are in the bag , If you want to change it, you can change it directly in your bag .
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 .
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 |
---|---|---|
ALL | lf.java | The welcome page |
ALL | welcome.java | Choose identity |
ALL | dl.java、test.java | Enter account password to log in ,test.java Used to generate verification code |
ALL | zzdx.java、zzdx1.java、zzdx2.java | Account password verification ( Student 、 teacher 、 The director of the ) |
ALL | success.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 |
ALL | error.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
find zzdx.sql, open
Click execute to create the database
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 .
This may take a little time
First, use the mouse to select Class.forName
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 .
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 | ![]() |
Identity choice | ![]() |
Enter the account and password | ![]() |
Login failed | ![]() |
Student home page | ![]() |
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 ) | ![]() |
Check your grades (null It means that the teacher has not uploaded his grades , At this time, the default display is passed ) | ![]() |
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 ) | ![]() |
Inquiry telephone ( First, I will print out the phone number of my teacher , If you need other teachers , You can click More ) | ![]() |
more ( Enter the name to query , If you have this teacher, print it out , Give a prompt without ) | ![]() |
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 ) | ![]() |
The drop ( Click the course number to quit the course ) | ![]() |
Change Password | ![]() |
Teacher Homepage | ![]() |
Check the courses taught ( Just like students, it's just a simple list ) | ![]() |
Issue notice ( Only their own students will receive this notice ) | ![]() |
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 ) | ![]() |
Director homepage | ![]() |
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 ) | ![]() |
Offering courses | ![]() |
Account management ( Including the creation and deletion of teachers' and students' accounts , I'm too lazy to take pictures ) | ![]() |
7、 Okay , be it so , If it helps you, I hope you can give me a compliment
边栏推荐
- dosbox第一次使用
- VSCode基础配置
- Learning notes of JS variable scope and function
- MySQL replacement field part content
- Kaggle competition two Sigma connect: rental listing inquiries (xgboost)
- Use of lists
- SSD technical features
- JUC forkjoin and completable future
- [Clickhouse kernel principle graphic explanation] about the collaborative work of partitioning, indexing, marking and compressed data
- ESP学习问题记录
猜你喜欢
Common properties of location
JS数组常用方法的分类、理解和运用
Single chip Bluetooth wireless burning
Kaggle competition two Sigma connect: rental listing inquiries (xgboost)
Types de variables JS et transformations de type communes
Amba, ahb, APB, Axi Understanding
Navigator object (determine browser type)
Learning notes of JS variable scope and function
Vulnhub target: hacknos_ PLAYER V1.1
JS regular expression basic knowledge learning
随机推荐
[leetcode622]设计循环队列
js题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。
JS变量类型以及常用类型转换
Pytoch temperature prediction
[esp32 learning-2] esp32 address mapping
vim命令行笔记
Pytorch: tensor operation (I) contiguous
map文件粗略分析
Redis based distributed locks and ultra detailed improvement ideas
记一次云服务器被密码爆破的经历——关小黑屋、改密码、改端口
基于Redis的分布式ID生成器
程序员老鸟都会搞错的问题 C语言基础 指针和数组
[golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree
MySQL時間、時區、自動填充0的問題
Understanding of AMBA, AHB, APB and Axi
2021.11.10汇编考试
VSCode基础配置
NRF24L01故障排查
idea中导包方法
ESP学习问题记录