fix: 补充SMF查询DNN条件缺失
This commit is contained in:
@@ -91,6 +91,10 @@ func (r *CDREventSMF) SelectPage(querys model.CDREventSMFQuery) map[string]any {
|
|||||||
conditions = append(conditions, "JSON_EXTRACT(cdr_json, '$.subscriberIdentifier.subscriptionIDData') = ?")
|
conditions = append(conditions, "JSON_EXTRACT(cdr_json, '$.subscriberIdentifier.subscriptionIDData') = ?")
|
||||||
params = append(params, querys.SubscriberID)
|
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
|
// for multi-tenancy solution
|
||||||
if querys.TenantName != "" {
|
if querys.TenantName != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user