feat(services-counter): lead search, detail and update
Search lists every lead in the company with its event count, last event and latest salesperson, worked out at read time. Detail adds the event history and other leads sharing the mobile or email. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
a1d9a82d88
commit
e75ef80dc0
13 files changed
+462
-1
No files matched your search
@@ -15,7 +15,7 @@ Design: `design.md` (decision numbers below refer to it). All tasks run serially
|
||||
|
||||
## 2. services-counter
|
||||
|
||||
- [ ] 2.1 Add lead search, detail and update (design decisions 2 and 3):
|
||||
- [x] 2.1 Add lead search, detail and update (design decisions 2 and 3):
|
||||
- `POST /counter/lead/search`: the native query with `cnt`, `last` and `sp`.
|
||||
- `GET /counter/lead/detail/{companyId}/{leadUuid}`: the lead with its history and shared contacts.
|
||||
- `POST /counter/lead/update`: `@Transactional`.
|
||||
|
||||
Reference in new issue
Block a user