feat(services-counter): capture, match, list and edit event leads

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-27 11:13:49 +08:00
1 parent b75d636886
commit 48507979bd
20 files changed
+1183 -1

No files matched your search

@@ -30,7 +30,7 @@ Design: `design.md` (decision numbers below refer to it). Every task runs serial
- Scope: `solvway-services-counter/src/**/*Interest*`, plus a `dto/` record if needed.
- Verify: `mvn -T 1C -B -q -pl solvway-services-counter -am verify`.
- [ ] 2.2 Add the lead backend (design decisions 3, 6, 7):
- [x] 2.2 Add the lead backend (design decisions 3, 6, 7):
- `Lead`, `EventLead` and `EventLeadInterest` entities and repositories. Uuids come from `SnowflakeIdWorker.getUUID()`.
- `EventLeadController` and service:
- `POST /counter/lead/findMatches` with `{companyId, mobileE164, email}`: leads matching either value in the company, at most 20, newest first. Each match carries the `eventLeadUuid` when the lead is already captured at the given `eventUuid`.