From 971d1f407c0e7599f9a462728a030cfc3ddfb6ff Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 10 Oct 2024 14:08:32 +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_finance_index.go | 2 +- app/svc/svc_index.go | 2 +- app/svc/svc_operator_index.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/svc/svc_finance_index.go b/app/svc/svc_finance_index.go index e659ee9..f2937a0 100644 --- a/app/svc/svc_finance_index.go +++ b/app/svc/svc_finance_index.go @@ -240,7 +240,7 @@ func commFinanceTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []strin where += " and medium_id in(" + mediumId + ")" } 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" diff --git a/app/svc/svc_index.go b/app/svc/svc_index.go index c96e6a8..8916af3 100644 --- a/app/svc/svc_index.go +++ b/app/svc/svc_index.go @@ -251,7 +251,7 @@ func commTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []string) []ma where += " and medium_id in(" + mediumId + ")" } 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" diff --git a/app/svc/svc_operator_index.go b/app/svc/svc_operator_index.go index 19a7d9c..5663768 100644 --- a/app/svc/svc_operator_index.go +++ b/app/svc/svc_operator_index.go @@ -202,7 +202,7 @@ func commOperatorTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []stri where += " and medium_id in(" + mediumId + ")" } 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"