fix for custom kpi and export log&cdr table file

This commit is contained in:
2024-08-30 11:41:22 +08:00
parent 0555d4a3d2
commit fb3ce6183b
11 changed files with 408 additions and 64 deletions

View File

@@ -27,7 +27,6 @@ type KpiCReport struct {
Granularity *int8 `gorm:"column:granularity;default:60" json:"granularity,omitempty"` //Time granualarity: 5/10/.../60/300 (second)
KpiValues KpiCValues `gorm:"column:kpi_values;type:json" json:"kpiValues,omitempty"`
CreatedAt *time.Time `gorm:"column:created_at;default:current_timestamp()" json:"createdAt,omitempty"`
TenantID *string `gorm:"column:tenant_id;default:NULL" json:"tenantID,omitempty"`
}
type KpiCReportQuery struct {