{"id":19199053,"url":"https://github.com/leungll/sthomework01","last_synced_at":"2026-05-07T09:33:42.200Z","repository":{"id":105367526,"uuid":"258513948","full_name":"leungll/STHomeWork01","owner":"leungll","description":"Student Information Management System, Software Testing and Quality Assurance course, 2020 Spring, NENU ","archived":false,"fork":false,"pushed_at":"2024-05-02T05:21:30.000Z","size":179,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T05:15:30.828Z","etag":null,"topics":["gui","intellij-idea","java-8","mysql","nenu","student-information-system"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leungll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-24T13:02:45.000Z","updated_at":"2024-05-23T06:12:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"8dc4c3f4-1573-4f45-b859-ed3efbbc5274","html_url":"https://github.com/leungll/STHomeWork01","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leungll/STHomeWork01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungll%2FSTHomeWork01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungll%2FSTHomeWork01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungll%2FSTHomeWork01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungll%2FSTHomeWork01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leungll","download_url":"https://codeload.github.com/leungll/STHomeWork01/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungll%2FSTHomeWork01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","intellij-idea","java-8","mysql","nenu","student-information-system"],"created_at":"2024-11-09T12:25:27.246Z","updated_at":"2026-05-07T09:33:42.183Z","avatar_url":"https://github.com/leungll.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STHomeWork01\nStudent Information Management System, Software Testing and Quality Assurance course, 2020 Spring, NENU \n\n### 学生信息管理系统\n\n![maven](https://img.shields.io/badge/Java-passing-red)\n![maven](https://img.shields.io/badge/JDK-1.8-success)\n![maven](https://img.shields.io/badge/MySQL-8.0%2B-yellow)\n![maven](https://img.shields.io/badge/version-v1.2-orange)\n![maven](https://img.shields.io/badge/License-Apache%202.0-blue)\n\n## 项目介绍\n本项目为 NENU 2020年春季学期软件质量保证与测试课程第一次项目实训。\n\n## 项目需求\n* 菜单选项\n    - 程序显示“菜单”选项，等待用户输入选项（1~5）\n    - 执行相应功能\n* 插入功能\n    - 将学生类 **(最多20个)** 插入数组中\n    - 要求学生信息从**键盘输入**，每次只插入**一个学生**的信息\n    - 每插入一个名字后学生仍要求**按学号递增排序**\n* 输出功能\n    - **输出所有学生**信息\n* 查找功能\n    - **按姓名查找**，若找到显示相关信息，否则**提示未找到**\n* 退出功能\n    - **退出整个程序**\n* 删除功能\n    - **按姓名删除**，即按姓名查找后删除该学生信息\n* 修改功能\n    - **按姓名查找**后修改学生年龄等信息（可选择，若实现请标出）\n* 本题目可选择 **图形界面（GUI）** 程序实现，也可以**增加其他功能**。（可选择，若实现请在文档中明确标出）\n\n## 开发环境\n* JAVA版本：1.8\n* 开发工具：IntelliJ IDEA 2020.1\n* 数据库：MySQL 8.0\n* 版本控制工具：Git 2.18.0\n\n## 运行编译\n* 本项目采用 `GBK` 编码，若使用 `UTF-8` 编码方式打开会出现**中文乱码问题**\n* 将仓库中的数据库（ `db_sthomework01.sql`，内置 `t_student` 表)导入本地数据库\n    - 在配置文件（ `DBConnection.java`，路径：`src\\com\\nenu\\student\\database`）修改本地数据库**账号及密码**等配置信息。\n* 设置与你主机对应的 `JDK` 版本（注：项目默认使用 `JDK1.8` ）\n* `Add as Library`： `mysql-connector-java-5.0.8-bin.jar` （ 路径：`STHomeWork01\\lib` ）  \n* 运行 `StudentApplication` 启动项目（路径：`src\\com\\nenu\\student\\main`）\n\n## 项目功能\n* 本项目图形化界面采用 `GUI` 实现\n* 可连接 `MySQL` 进行相应的数据库操作\n* 菜单选项（输出、插入、删除、修改、查询、退出六大按钮）\n* 输出功能：输出**全部学生**的个人信息\n* 插入功能\n    - 从**键盘输入**，每次只插入**一个学生**的信息（学号、姓名、性别、出生日期）\n    - 将学生信息插入数据库中（**超过20条数据**时会有提示信息）\n    - 每插入一个名字后学生仍**按学号递增排序** \n    - 插入**相同学号**学生信息时，可**提示该学生已存在**\n* 删除功能\n    - **按学号删除**，即按学号查找后删除该学生信息\n    - 注：原来项目需求是按姓名删除，但是因为使用数据库连接，并在表中设置**学号为主键**（学号能保证唯一性），考虑再三，这里改用**按学号删除**\n    - 删除失败时，可**提示该学生不存在**\n* **修改功能**\n    - **按学号查找**后修改学生年龄等信息\n    - 这里修改为**按学号查找**的原因同上\n    - 修改失败时，可**提示该学生不存在**\n* 查找功能\n    - **按姓名查找**，若找到显示相关信息\n    - 查找失败时，可**提示未找到**\n* 退出功能\n    - **退出整个程序**\n\n## 项目结构\n```\n├─.idea\n│  │  .gitignore\n│  │  encodings.xml\n│  │  misc.xml\n│  │  modules.xml\n│  │  uiDesigner.xml\n│  │  vcs.xml\n│  │  workspace.xml\n│  │  \n│  ├─inspectionProfiles\n│  │      Project_Default.xml\n│  │      \n│  └─libraries\n│          mysql_connector_java_5_0_8_bin.xml\n│          \n├─lib\n│      mysql-connector-java-5.0.8-bin.jar\n│                  \n└─src\n    └─com\n        └─nenu\n            └─student\n                ├─database\n                │      DatabaseConnection.java\n                │      \n                ├─entity\n                │      Student.java\n                │      \n                ├─main\n                │      StudentApplication.java\n                │      \n                ├─resources\n                │      timg.jpg\n                │      \n                ├─service\n                │      AddStudent.java\n                │      DelStudent.java\n                │      ListAllStudent.java\n                │      SelectStudent.java\n                │      StudentManagement.java\n                │      UpdateStudent.java\n                │      \n                └─test\n                       StudentManagementTest.java\n```\n\n## 类之间调用关系\n![st-hw-1](https://cdn.jsdelivr.net/gh/leungll/ImgHosting/img/st-hw-1.png)\n\n## 项目部分页面\n![st-hw-2](https://cdn.jsdelivr.net/gh/leungll/ImgHosting/img/st-hw-2.png)\n\n## 项目作者\n* 开发及维护：@[LL Leung](https://github.com/leungll)\n\n\n\n\n\n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleungll%2Fsthomework01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleungll%2Fsthomework01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleungll%2Fsthomework01/lists"}