Bläddra i källkod

更新

master
huangjiajun 1 månad sedan
förälder
incheckning
971d1f407c
3 ändrade filer med 3 tillägg och 3 borttagningar
  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 Visa fil

@@ -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 Visa fil

@@ -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 Visa fil

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


Laddar…
Avbryt
Spara