Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1
zouap 4 years ago
parent
commit
0c7a51c60c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/user_business_analysis.go

+ 1
- 1
models/user_business_analysis.go View File

@@ -231,7 +231,7 @@ func CounDataByDate(wikiCountMap map[string]int, startTime time.Time, endTime ti
log.Info("start to count other user info data")
sess := x.NewSession()
defer sess.Close()
sess.Select("`user`.*").Table("user").Where("type=1 and is_active=true")
sess.Select("`user`.*").Table("user").Where("type != 1 and is_active=true")
userList := make([]*User, 0)
sess.Find(&userList)



Loading…
Cancel
Save