fuyu %!s(int64=7) %!d(string=hai) anos
pai
achega
2bdd06e07b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      application/admin/controller/Protector.php

+ 2 - 0
application/admin/controller/Protector.php

@@ -73,12 +73,14 @@ class Protector extends Backend
                 case 'overdue':                 //已过期
                     $total = $this->model
                         ->where('status',$this->status['OVERDUE'])
+                        ->whereOr('status',$this->status['GIVEUP'])
                         ->where($where_usr_id)
                         ->where($where)
                         ->order($sort, $order)
                         ->count();
                     $list = $this->model
                         ->where('status',$this->status['OVERDUE'])
+                        ->whereOr('status',$this->status['GIVEUP'])
                         ->where($where_usr_id)
                         ->where($where)
                         ->order($sort, $order)