Commit 8ada6539 authored by hujiebin's avatar hujiebin

fix:时长一号累计

parent f5cd7d10
...@@ -100,7 +100,7 @@ func MGetUserOnMicSecondsRange(model *domain.Model, beginDate, endDate string, t ...@@ -100,7 +100,7 @@ func MGetUserOnMicSecondsRange(model *domain.Model, beginDate, endDate string, t
return res, err return res, err
} }
for _, r := range rows { for _, r := range rows {
res[r.UserId] = r.Seconds res[r.UserId] += r.Seconds
} }
return res, nil return res, nil
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment