From 43c28224fd930af11150fae864f3bf3b6693785a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 20 Dec 2024 19:34:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/advertising/svc_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/advertising/svc_list.go b/app/svc/advertising/svc_list.go index 72dd91a..71968ef 100644 --- a/app/svc/advertising/svc_list.go +++ b/app/svc/advertising/svc_list.go @@ -107,7 +107,7 @@ func VisitList(c *gin.Context) { return } func FindAdvertisingCallback(page, limit, amount, uid, startTime, endTime, platform, types string) []map[string]string { - sql := `SELECT * FROM advertising_callback where %s %s order by id desc` + sql := `SELECT * FROM advertising_callback where %s order by id desc %s` where := "1=1" if amount != "" { where += " and CONVERT(amount, FLOAT)<=" + amount