Count today's spend across a member's products in one query

Featurekamo-shared-library
Ya
21 Agosti 2026, 02:01 UTC
Mwandishi
Kamo
Ahadi ya
8558d11

Manage-Credits wants to show, per member, how many leads they have accepted so far today — the running total the Max Daily Spend cap is compared against. **************** answers for one product, so a grid would pay a query per member x product. Same dateSpent window, grouped by product. Deliberately not a second definition of "today": the caller passes the member's own local start-of-day, exactly as CreditLeadAssignmentService does when it enforces the cap, because a figure displayed beside the cap that counted a different day would be worse than none.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei