Browse Source

提交代码。

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

+ 1
- 0
models/attachment.go View File

@@ -284,6 +284,7 @@ func DeleteAttachments(attachments []*Attachment, remove bool) (int, error) {
*/
}
}
countData()
return int(cnt), nil
}



+ 1
- 0
models/user_business_analysis.go View File

@@ -60,6 +60,7 @@ type UserBusinessAnalysis struct {
}

func countData() {
log.Info("start to count data")
sess := x.NewSession()
defer sess.Close()
sess.Select("`user`.*").Table("user")


Loading…
Cancel
Save