Browse Source

更新

order_statistics
huangjiajun 7 months ago
parent
commit
35d63ff46a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_valid_user.go

+ 1
- 1
consume/zhios_valid_user.go View File

@@ -105,7 +105,7 @@ func RoutineUpdateUserComm(eg *xorm.Engine, dbName, uid string) {
for k, v := range checkMap {
switch k {
case "taskVideo":
sum, _ := eg.Where("uid=? and task_type=?", user.Uid, 3).Sum(&model.TaskVideoNum{}, "count")
sum, _ := eg.Where("uid=? and task_type=? and task_id>0", user.Uid, 3).Sum(&model.TaskVideoNum{}, "count")
if sum >= utils.AnyToFloat64(v) {
todone--
}


Loading…
Cancel
Save