瀏覽代碼

更新

master
huangjiajun 1 月之前
父節點
當前提交
971d1f407c
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      app/svc/svc_finance_index.go
  2. +1
    -1
      app/svc/svc_index.go
  3. +1
    -1
      app/svc/svc_operator_index.go

+ 1
- 1
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"


+ 1
- 1
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"


+ 1
- 1
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"


Loading…
取消
儲存