diff --git a/src/modules/network_data/repository/cdr_event_smf.go b/src/modules/network_data/repository/cdr_event_smf.go index a4b04ed0..01755e51 100644 --- a/src/modules/network_data/repository/cdr_event_smf.go +++ b/src/modules/network_data/repository/cdr_event_smf.go @@ -91,6 +91,10 @@ func (r *CDREventSMF) SelectPage(querys model.CDREventSMFQuery) map[string]any { conditions = append(conditions, "JSON_EXTRACT(cdr_json, '$.subscriberIdentifier.subscriptionIDData') = ?") params = append(params, querys.SubscriberID) } + if querys.DNN != "" { + conditions = append(conditions, "JSON_EXTRACT(cdr_json, '$.pDUSessionChargingInformation.dNNID') = ?") + params = append(params, querys.DNN) + } // for multi-tenancy solution if querys.TenantName != "" {