fix(model): correct filter condition to use 'date' instead of 'data'
This commit is contained in:
parent
ca344a1ce9
commit
107fe82f10
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user