优化通知栏,通知实时同步功能

This commit is contained in:
2026-06-27 19:15:06 +08:00
parent d38cbdbf07
commit 53b3b2c989
30 changed files with 1810 additions and 304 deletions
+20
View File
@@ -0,0 +1,20 @@
# CLAUDE.md — system-common
Shared Java library used by all backend modules.
---
## Service layer pattern
Two base classes defined here:
| Base | Purpose |
|---|---|
| `CrudService<Dao, Entity, DTO>` | Generic CRUD: `page()`, `get()`, `save()`, `update()`, `delete()` |
| `BaseService<Dao>` | Lighter base without DTO generic |
These are used by all service implementations in `system-admin` and other modules. See `system-admin/CLAUDE.md` for the full module convention.
## i18n validation messages
Located at `src/main/resources/i18n/validation.properties`. Hibernate Validator messages used by `@RestControllerAdvice` exception handler in `system-admin`. Error codes follow `int` scheme: 5 digits, first 2 = module, last 3 = business (e.g. `10001`-`10029`).