操作日志查询修改
This commit is contained in:
@@ -100,7 +100,7 @@ func GetOperateEvents(db *DaoDB, name string, apiFunctions []string, operateType
|
||||
sql += "a.api_function IN (" + GenQuestionMarks(len(apiList)) + ") OR"
|
||||
}
|
||||
sql += " a.err_msg LIKE ? OR b.thing_id LIKE ? OR b.store_id LIKE ? OR c.name LIKE ?)"
|
||||
sqlParams = append(sqlParams, "%"+keyword+"%")
|
||||
sqlParams = append(sqlParams, "%"+keyword+"%", "%"+keyword+"%", "%"+keyword+"%", "%"+keyword+"%")
|
||||
}
|
||||
sql += `
|
||||
ORDER BY a.created_at DESC
|
||||
|
||||
Reference in New Issue
Block a user