Your Name %!s(int64=3) %!d(string=hai) anos
pai
achega
ae11a8a717
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tool/work/lib/Cron.php

+ 2 - 0
tool/work/lib/Cron.php

@@ -156,6 +156,7 @@ Class Cron
             $cate = Dever::db('work/q_cate')->state();
             foreach ($cate as $k =>$v) {
                 $where['cate'] = $v['id'];
+                unset($where['priority_id']);
                 $num = Dever::db('work/info')->getNum($where);
                 if ($num <= 0) {
                     continue;
@@ -164,6 +165,7 @@ Class Cron
                 $data['cate'] = $where['cate'];
                 $data['day'] = $where['start'];
                 $info = Dever::db('work/info_stat')->find($data);
+
                 $data['question'] = $num;
                 $where['priority_id'] = 4;
                 $data['super'] = Dever::db('work/info')->getNum($where);