feat(system): user companyId, kept on update when the request omits it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-26 19:25:07 +08:00
1 parent 42071a850f
commit 72b724f468
4 files changed
+60 -1

No files matched your search

@@ -9,7 +9,7 @@ Babyboo source: `~/Projects/babyboo` (read only). All tasks run serially; most t
## 2. services-system
- [ ] 2.1 Add `companyId` to `services-system` `User` (column `company_id`) and make `/user/save` keep it. Test first: saving a user with `companyId` 1 and reading it back returns 1; saving an existing user without `companyId` does not clear it. Verify: `mvn -T 1C -pl solvway-services-system -am verify`.
- [x] 2.1 Add `companyId` to `services-system` `User` (column `company_id`) and make `/user/save` keep it. Test first: saving a user with `companyId` 1 and reading it back returns 1; saving an existing user without `companyId` does not clear it. Verify: `mvn -T 1C -pl solvway-services-system -am verify`.
- Scope: `solvway-services-system/src/**`
## 3. mobile-api admin guard