feat: add project operations overview

This commit is contained in:
Codex
2026-03-19 12:34:00 +08:00
parent a44f726c97
commit bba2e877a2
14 changed files with 594 additions and 31 deletions

View File

@@ -8,8 +8,10 @@ Innovation Platform is a Spring Boot based demo for university innovation and en
- User management APIs for admin and profile workflows
- Project CRUD APIs with pagination
- Project dashboard statistics endpoint
- Project operations overview endpoint for risk and workload insights
- Static admin dashboard prototype at `backend/src/main/resources/static/index.html`
- Example SQL schema and seed data
- Integration tests running on an H2 test profile
## Demo accounts
@@ -32,6 +34,7 @@ Innovation Platform is a Spring Boot based demo for university innovation and en
- `PUT /api/users/profile`
- `GET /api/projects`
- `GET /api/projects/stats`
- `GET /api/projects/overview`
- `GET /api/projects/{id}`
- `POST /api/projects`
- `PUT /api/projects/{id}`
@@ -44,6 +47,8 @@ When the backend is running, open `/index.html` to use the lightweight dashboard
- request a login token
- load project statistics
- query recent projects with keyword, type, level, and status filters
- surface overdue and upcoming project alerts
- show advisor workload and college footprint summaries
- query the user directory with keyword, role, and status filters
- load the active teacher roster
- view and update the current user's profile details
@@ -54,6 +59,7 @@ When the backend is running, open `/index.html` to use the lightweight dashboard
## Notes
- This repository snapshot was recovered from an archive, so local build and runtime validation depend on the target machine having Java and Maven available.
- The current environment used for editing did not include a working Maven installation, so changes were verified statically only.
- The current editing environment now includes Java 17 and Maven, and the backend is covered by integration tests on an H2 profile.
- Pagination is now backed by a MyBatis-Plus interceptor so `current` and `size` parameters apply correctly.
- The SQL bootstrap files were refreshed into a clean UTF-8 seed set and made idempotent with `ON DUPLICATE KEY UPDATE`.
- Upstream user-management changes were reconciled into this branch with DTO-based responses so password hashes are not exposed from `/api/users`.