fix(model): correct filter condition to use 'date' instead of 'data'

This commit is contained in:
Chang lue Tsen 2025-09-03 06:49:55 -04:00
parent ca344a1ce9
commit 107fe82f10

View File

@ -46,7 +46,7 @@ func (m *customSystemLogModel) FilterSystemLog(ctx context.Context, filter *Filt
}
if filter.Data != "" {
tx = tx.Where("`data` = ?", filter.Data)
tx = tx.Where("`date` = ?", filter.Data)
}
if filter.ObjectID != 0 {