refactor(network): improve network statistics calculations and update related DTOs
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m14s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m14s
- Refactored GetNetworkStatisticsQueryHandler to enhance logic for counting active members in left and right legs. - Updated GetNetworkStatisticsResponseDto to include new properties for LeftLegCount and RightLegCount. - Modified Protobuf definitions to align with the updated response structure for network statistics. - Enhanced SQL script to differentiate between all subtree counts and active club member counts.
This commit is contained in:
@@ -315,6 +315,7 @@ message GetMyNetworkTreeResponse
|
||||
// GetMyNetworkStatistics - for frontend customer display
|
||||
message GetMyNetworkStatisticsResponse
|
||||
{
|
||||
// اعضای فعال باشگاه: کل = چپ + راست
|
||||
int32 total_members = 1;
|
||||
int32 active_members = 2;
|
||||
int32 left_leg_count = 3;
|
||||
|
||||
Reference in New Issue
Block a user