dengbiao 1 month ago
parent
commit
383de146fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/svc/svc_data_center.go

+ 1
- 1
app/svc/svc_data_center.go View File

@@ -465,7 +465,7 @@ func commAgentProfit(c *gin.Context, isTotal int, req md.DataCenterProfitRecordR
groupBy = " group by %s,app_id order by date asc,id asc"
}
timeStr := "gf.date"
if req.Type == "0" {
if req.Type == "1" {
timeStr = "DATE_FORMAT(date, '%Y-%m')"
}
if req.Type == "2" {


Loading…
Cancel
Save