|
@@ -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" |
|
|
groupBy = " group by %s,app_id order by date asc,id asc" |
|
|
} |
|
|
} |
|
|
timeStr := "gf.date" |
|
|
timeStr := "gf.date" |
|
|
if req.Type == "0" { |
|
|
|
|
|
|
|
|
if req.Type == "1" { |
|
|
timeStr = "DATE_FORMAT(date, '%Y-%m')" |
|
|
timeStr = "DATE_FORMAT(date, '%Y-%m')" |
|
|
} |
|
|
} |
|
|
if req.Type == "2" { |
|
|
if req.Type == "2" { |
|
|