Commit Graph

16 Commits

Author SHA1 Message Date
Frudrax Cheng 1029d5966b Fix leftover department references after rename to position
FindAll search query and tests still referenced the old column name,
causing vet errors and runtime SQL failures.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 10:41:01 +08:00
Frudrax Cheng 0d82260fd9 Add aftersales work order feature
- AftersalesOrder model with state machine (created/pending_confirmation/closed/rejected)
- Public scan-to-confirm flow with phone last-4 verification and rate limiting
- Technician role and middleware for ownership-scoped operations
- QR code generation pointing to /aftersales/{serialNumber}
- Admin overrides: reassign, force-close, delete

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 10:39:49 +08:00
ZHENG XIAOYI e820b858bf Change department to position 2026-03-02 14:01:52 +08:00
ZHENG XIAOYI 4f18028a7b Re-migrate code 2026-03-02 12:57:07 +08:00
ZHENG XIAOYI 6070df659a Re-migrate code 2026-03-02 10:41:43 +08:00
ZHENG XIAOYI 1cc3097d9b Re-migrate code 2026-03-02 10:31:45 +08:00
ZHENG XIAOYI f80f2b43ce Re-migrate code 2026-03-02 10:24:11 +08:00
ZHENG XIAOYI 51025195a5 Re-migrate code 2026-03-02 10:05:12 +08:00
ZHENG XIAOYI d1e6f15745 Update .env.example 2026-03-02 09:53:41 +08:00
ZHENG XIAOYI c29cbdf847 Add employee code assignment function 2026-03-02 09:38:03 +08:00
ZHENG XIAOYI 58b1ac1126 add AGENTS.md 2026-02-12 19:27:11 +08:00
ZHENG XIAOYI a87980a44c update .gitignore 2026-02-12 19:24:21 +08:00
ZHENG XIAOYI 8afed25543 docs: update README and cleanup miscellaneous files 2026-02-12 19:20:31 +08:00
ZHENG XIAOYI d51e2dc500 feat: integrate swagger documentation and gin cors middleware 2026-02-12 19:13:58 +08:00
ZHENG XIAOYI aed996f409 feat(config): implement layered configuration using config.yaml and .env 2026-02-12 14:41:49 +08:00
ZHENG XIAOYI e01cdc9889 Initial commit 2026-02-12 14:31:30 +08:00