From 3e443c435bc7ef613ac503a98c1d0b493db0c0c9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 10 Oct 2024 14:06:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/svc_index.go b/app/svc/svc_index.go index a338050..2d58712 100644 --- a/app/svc/svc_index.go +++ b/app/svc/svc_index.go @@ -207,7 +207,7 @@ func commTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []string) []ma where += " and date<='" + req.EndDate + "'" } if len(appId) > 0 { - where += " and app_id in(" + strings.Join(appId, ",") + ")" + where += " and app_id in('" + strings.Join(appId, ",") + "')" } if req.Sort == "" { req.Sort = "media_revenue desc"