|
@@ -207,7 +207,7 @@ func commTotalByApp(c *gin.Context, req md.IndexAppListReq, appId []string) []ma |
|
|
where += " and date<='" + req.EndDate + "'" |
|
|
where += " and date<='" + req.EndDate + "'" |
|
|
} |
|
|
} |
|
|
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" |
|
|