fuyu 7 سال پیش
والد
کامیت
2bdd06e07b
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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)