wugg 2 gadi atpakaļ
vecāks
revīzija
d1f33492e8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/admin/controller/Payment.php

+ 1 - 1
app/admin/controller/Payment.php

@@ -52,7 +52,7 @@ class Payment extends BaseController
 //        }
         $page =  isset($post['page'])&&$post['page']!="" ? intval($post['page']) :1;
         $size =  isset($post['size'])&&$post['size']!="" ? intval($post['size']) :10;
-        $count = Db::name("pay_ment")->alias('b')
+        $count = Db::name("pay_payment")->alias('b')
             ->join("pay a","`a`.`payNo` = `b`.`payNo` AND  b.is_del = 0 ",'left')
             ->where($condition)->count();
         $total = ceil($count/$size)>1 ? ceil($count/$size) : 1;