huangjiajun před 1 měsícem
rodič
revize
971d1f407c
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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"


Načítá se…
Zrušit
Uložit