当前位置:网站首页>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
边栏推荐
- [Clickhouse kernel principle graphic explanation] about the collaborative work of partitioning, indexing, marking and compressed data
- JS 函数提升和var变量的声明提升
- Esp8266 uses Arduino to connect Alibaba cloud Internet of things
- ARM PC=PC+8 最便于理解的阐述
- Detailed explanation of truncate usage
- ESP8266连接onenet(旧版MQTT方式)
- Vulnhub target: hacknos_ PLAYER V1.1
- Expected value (EV)
- [Red Treasure Book Notes simplified version] Chapter 12 BOM
- JS正则表达式基础知识学习
猜你喜欢
Problèmes avec MySQL time, fuseau horaire, remplissage automatique 0
Cannot change version of project facet Dynamic Web Module to 2.3.
2021.11.10 compilation examination
JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.
idea中好用的快捷键
ES6 grammar summary -- Part 2 (advanced part es6~es11)
ARM PC=PC+8 最便于理解的阐述
Esp8266 connect onenet (old mqtt mode)
Fashion-Gen: The Generative Fashion Dataset and Challenge 论文解读&数据集介绍
Vulnhub target: hacknos_ PLAYER V1.1
随机推荐
Basic operations of databases and tables ----- view data tables
單片機藍牙無線燒錄
MySQL replacement field part content
[esp32 learning-2] esp32 address mapping
[Leetcode15]三数之和
HCIP Day 12
JS變量類型以及常用類型轉換
What is the maximum length of MySQL varchar field
[offer29] sorted circular linked list
如何给Arduino项目添加音乐播放功能
Servlet
[leetcode19]删除链表中倒数第n个结点
Esp8266 connects to bafayun (TCP maker cloud) through Arduino IED
基於Redis的分布式ID生成器
VIM command line notes
Basic operations of databases and tables ----- classification of data
Redis 缓存更新策略,缓存穿透、雪崩、击穿问题
Amba, ahb, APB, Axi Understanding
JUC forkjoin and completable future
Kaggle competition two Sigma connect: rental listing inquiries