Explorar el Código

更新

master
huangjiajun hace 1 mes
padre
commit
971d1f407c
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar