From 1645dda5d4d779b55dd00b276cb7358cb96c6d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 3 Feb 2020 13:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/event.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/model/dao/event.go b/business/model/dao/event.go index ad8377994..48a6e9871 100644 --- a/business/model/dao/event.go +++ b/business/model/dao/event.go @@ -98,6 +98,7 @@ func GetOperateEvents(db *DaoDB, name string, apiFunctions []string, operateType } if len(apiList) > 0 { sql += "a.api_function IN (" + GenQuestionMarks(len(apiList)) + ") OR" + sqlParams = append(sqlParams, apiList) } sql += " a.err_msg LIKE ? OR b.thing_id LIKE ? OR b.store_id LIKE ? OR c.name LIKE ?)" sqlParams = append(sqlParams, "%"+keyword+"%", "%"+keyword+"%", "%"+keyword+"%", "%"+keyword+"%")