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"