dever 7 years ago
parent
commit
7940cf584b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      task/src/Info.php

+ 1 - 0
task/src/Info.php

@@ -210,6 +210,7 @@ class Info extends Base
     {
         # 查看该用户完成的报告数
         $where = array();
+        $where['task_id'] = $data['id'];
         $where['uid'] = $data['uid'];
         $where['status'] = 2;
         $log = Dever::db('task/user_score_log')->getAll($where);