|
@@ -240,7 +240,7 @@ func commFinanceTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []strin |
|
|
where += " and medium_id in(" + mediumId + ")" |
|
|
where += " and medium_id in(" + mediumId + ")" |
|
|
} |
|
|
} |
|
|
if len(appId) > 0 { |
|
|
if len(appId) > 0 { |
|
|
where += " and app_id in(‘" + strings.Join(appId, ",") + "’)" |
|
|
|
|
|
|
|
|
where += " and app_id in('" + strings.Join(appId, ",") + "')" |
|
|
} |
|
|
} |
|
|
if req.Sort == "" { |
|
|
if req.Sort == "" { |
|
|
req.Sort = "media_revenue desc" |
|
|
req.Sort = "media_revenue desc" |
|
|